Interface DifferentialExpressionAnalyzerService
- All Known Implementing Classes:
DifferentialExpressionAnalyzerServiceImpl
public interface DifferentialExpressionAnalyzerService
- Author:
- Paul
-
Method Summary
Modifier and TypeMethodDescriptionint
deleteAnalyses
(ExpressionExperiment expressionExperiment) Delete any differential expression analyses associated with the experiment.int
deleteAnalyses
(ExpressionExperiment ee, Collection<DifferentialExpressionAnalysis> analysesToDelete) Delete the specified differential expression analyses associated with the experiment.void
deleteAnalysis
(ExpressionExperiment expressionExperiment, DifferentialExpressionAnalysis existingAnalysis) Deletes the given analysis.extendAnalysis
(ExpressionExperiment ee, DifferentialExpressionAnalysis toUpdate, DifferentialExpressionAnalysisConfig config) Like redo, but we don't save the results, we just add the full set of results to the analysis given.getAnalyses
(ExpressionExperiment expressionExperiment) persistAnalysis
(ExpressionExperiment expressionExperiment, DifferentialExpressionAnalysis analysis, DifferentialExpressionAnalysisConfig config) Made public for testing purposes only.redoAnalyses
(ExpressionExperiment ee, Collection<DifferentialExpressionAnalysis> deas, DifferentialExpressionAnalysisConfig config, boolean ignoreFailingAnalyses) Redo multiple analyses.Redo an analysis.redoAnalysis
(ExpressionExperiment ee, DifferentialExpressionAnalysis dea, DifferentialExpressionAnalysisConfig config) Redo an analysis.runDifferentialExpressionAnalyses
(ExpressionExperiment expressionExperiment, DifferentialExpressionAnalysisConfig config)
-
Method Details
-
deleteAnalyses
Delete any differential expression analyses associated with the experiment. Also deletes files associated with the analysis (e.g., results dumps) and associated hitlist sizes and pvalue distributions.- Parameters:
expressionExperiment
- the experiment- Returns:
- the number of analyses that were deleted
-
deleteAnalyses
int deleteAnalyses(ExpressionExperiment ee, Collection<DifferentialExpressionAnalysis> analysesToDelete) Delete the specified differential expression analyses associated with the experiment. -
deleteAnalysis
void deleteAnalysis(ExpressionExperiment expressionExperiment, DifferentialExpressionAnalysis existingAnalysis) Deletes the given analysis. Also deletes files associated with the analysis. (e.g., results dumps)- Parameters:
expressionExperiment
- the experimentexistingAnalysis
- analysis
-
extendAnalysis
Collection<ExpressionAnalysisResultSet> extendAnalysis(ExpressionExperiment ee, DifferentialExpressionAnalysis toUpdate, DifferentialExpressionAnalysisConfig config) Like redo, but we don't save the results, we just add the full set of results to the analysis given. If we want to keep these results, must call update on the old one.- Parameters:
ee
- the experimenttoUpdate
- analysis- Returns:
- collection of results
-
getAnalyses
- Parameters:
expressionExperiment
- the experiment- Returns:
- all DifferentialExpressionAnalysis entities for the experiment.
-
redoAnalysis
Collection<DifferentialExpressionAnalysis> redoAnalysis(ExpressionExperiment ee, DifferentialExpressionAnalysis dea) Redo an analysis.- See Also:
-
redoAnalysis
Collection<DifferentialExpressionAnalysis> redoAnalysis(ExpressionExperiment ee, DifferentialExpressionAnalysis dea, DifferentialExpressionAnalysisConfig config) Redo an analysis.- Parameters:
ee
- the experimentdea
- analysis to base new one onconfig
- configuration for the analysis, factors and interactions will be ignored, but all other settings apply as usual- Returns:
- DEAs
-
redoAnalyses
Collection<DifferentialExpressionAnalysis> redoAnalyses(ExpressionExperiment ee, Collection<DifferentialExpressionAnalysis> deas, DifferentialExpressionAnalysisConfig config, boolean ignoreFailingAnalyses) Redo multiple analyses.- Parameters:
ignoreFailingAnalyses
- if true, analyses that fail will not be reported as errors, but will be skipped. Note that if all analyses fail, aAllAnalysesFailedException
will be raised.- See Also:
-
runDifferentialExpressionAnalyses
Collection<DifferentialExpressionAnalysis> runDifferentialExpressionAnalyses(ExpressionExperiment expressionExperiment, DifferentialExpressionAnalysisConfig config) - Parameters:
expressionExperiment
- the experimentconfig
- config- Returns:
- persistent analyses.
-
persistAnalysis
DifferentialExpressionAnalysis persistAnalysis(ExpressionExperiment expressionExperiment, DifferentialExpressionAnalysis analysis, DifferentialExpressionAnalysisConfig config) Made public for testing purposes only.- Parameters:
expressionExperiment
- the experimentanalysis
- analysisconfig
- config- Returns:
- persistent analysis
-