Class DEDVController


  • @Controller
    @RequestMapping("/dedv")
    public class DEDVController
    extends Object
    Exposes methods for accessing underlying Design Element Data Vectors. eg: ajax methods for visualization
    Author:
    kelsey
    • Constructor Detail

      • DEDVController

        public DEDVController()
    • Method Detail

      • getDEDVForDiffExVisualization

        public VisualizationValueObject[] getDEDVForDiffExVisualization​(Collection<Long> eeIds,
                                                                        Collection<Long> geneIds,
                                                                        Double threshold,
                                                                        Collection<DiffExpressionSelectedFactorCommand> factorMap)
        AJAX exposed method - for ProbeLevelDiffExGrid, VisualizationDifferentialWindow, DifferentialExpressionAnalysesSummaryTree
        Parameters:
        eeIds - FIXME accommodate ExpressionExperimentSubSets. Currently we pass in the "source experiment" so we don't get the slice.
        geneIds - (could be just one)
        threshold - for 'significance'
        factorMap - Collection of DiffExpressionSelectedFactorCommand showing which factors to use.
      • getDEDVForDiffExVisualizationByExperiment

        public VisualizationValueObject[] getDEDVForDiffExVisualizationByExperiment​(Long eeId,
                                                                                    Long geneId,
                                                                                    Double threshold,
                                                                                    Boolean isSubset)
        AJAX exposed method Batch factor value analyses are filtered out; for ProbeLevelDiffExGrid:VisualizationDifferentialWindow.
      • getDEDVForDiffExVisualizationByThreshold

        public VisualizationValueObject[] getDEDVForDiffExVisualizationByThreshold​(Long resultSetId,
                                                                                   Double givenThreshold,
                                                                                   @Nullable
                                                                                   Long primaryFactorID)
        AJAX exposed method
        Parameters:
        resultSetId - The resultset we're specifically interested. Note that this is what is used to choose the vectors, since it could be a subset of an experiment.
        givenThreshold -
        primaryFactorID - If non-null, the factor to use for sorting the samples before other factors are considered
        Returns:
        collection of visualization value objects
      • handleRequestInternal

        @RequestMapping("/downloadDEDV.html")
        public ModelAndView handleRequestInternal​(javax.servlet.http.HttpServletRequest request)
        Handle case of text export of the results.