Interface SampleCoexpressionAnalysisService

    • Method Detail

      • loadFullMatrix

        @Nullable
        DoubleMatrix<BioAssay,​BioAssay> loadFullMatrix​(ExpressionExperiment ee)
        Loads the analysis containing the coexpression matrices for the given experiment and converts the full (non-regressed) coexpression matrix into a double matrix. If the analysis or the matrix does not exist, computes it.
        Parameters:
        ee - the experiment to load the raw coexpression matrix for.
        Returns:
        the full, non-regressed matrix. If the matrix is not available event after attempted computation, returns null.
      • loadBestMatrix

        @Nullable
        DoubleMatrix<BioAssay,​BioAssay> loadBestMatrix​(ExpressionExperiment ee)
        Loads the analysis containing the coexpression matrices for the given experiment and converts the regressed coexpression matrix into a double matrix. If the analysis or the matrix does not exist, computes it. If there are problems loading or computing the regressed matrix (e.g. because the experiment has no experimental design), the full matrix is returned instead.
        Parameters:
        ee - the experiment to load the regressed coexpression matrix for.
        Returns:
        sample correlation matrix with major factors regressed out, if such matrix exists for the given experiment. If not, the full non-regressed matrix is returned. If no matrix is available event after attempted computation, returns null.
      • removeForExperiment

        void removeForExperiment​(ExpressionExperiment ee)
        Removes all coexpression matrices for the given experiment.
        Parameters:
        ee - the experiment to remove the analysis for.