Class DifferentialExpressionAnalyzerServiceImpl
- java.lang.Object
- 
- ubic.gemma.core.analysis.expression.diff.DifferentialExpressionAnalyzerServiceImpl
 
- 
- All Implemented Interfaces:
- DifferentialExpressionAnalyzerService
 
 @Component public class DifferentialExpressionAnalyzerServiceImpl extends Object implements DifferentialExpressionAnalyzerService Differential expression service to run the differential expression analysis (and persist the results using the appropriate data access objects). Note that there is also a DifferentialExpressionAnalysisService (which handled CRUD for analyses). In contrast this _does_ the analysis.- Author:
- keshav
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classDifferentialExpressionAnalyzerServiceImpl.AnalysisTypeDefines the different types of analyses our linear modeling framework supports: GENERICLM - generic linear regression (interactions are omitted, but this could change) OSTTEST - one sample t-test OWA - one-way ANOVA TTEST - two sample t-test TWO_WAY_ANOVA_WITH_INTERACTION TWO_WAY_ANOVA_NO_INTERACTION
 - 
Constructor SummaryConstructors Constructor Description DifferentialExpressionAnalyzerServiceImpl()
 - 
Method Summary
 
- 
- 
- 
Method Detail- 
deleteAnalysespublic int deleteAnalyses(ExpressionExperiment expressionExperiment) Description copied from interface:DifferentialExpressionAnalyzerServiceDelete 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.- Specified by:
- deleteAnalysesin interface- DifferentialExpressionAnalyzerService
- Parameters:
- expressionExperiment- the experiment
- Returns:
- the number of analyses that were deleted
 
 - 
deleteAnalysispublic void deleteAnalysis(ExpressionExperiment expressionExperiment, DifferentialExpressionAnalysis existingAnalysis) Description copied from interface:DifferentialExpressionAnalyzerServiceDeletes the given analysis. Also deletes files associated with the analysis. (e.g., results dumps)- Specified by:
- deleteAnalysisin interface- DifferentialExpressionAnalyzerService
- Parameters:
- expressionExperiment- the experiment
- existingAnalysis- analysis
 
 - 
extendAnalysispublic Collection<ExpressionAnalysisResultSet> extendAnalysis(ExpressionExperiment ee, DifferentialExpressionAnalysis toUpdate) Description copied from interface:DifferentialExpressionAnalyzerServiceLike 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.- Specified by:
- extendAnalysisin interface- DifferentialExpressionAnalyzerService
- Parameters:
- ee- the experiment
- toUpdate- analysis
- Returns:
- collection of results
 
 - 
getAnalysespublic Collection<DifferentialExpressionAnalysis> getAnalyses(ExpressionExperiment expressionExperiment) - Specified by:
- getAnalysesin interface- DifferentialExpressionAnalyzerService
- Parameters:
- expressionExperiment- the experiment
- Returns:
- all DifferentialExpressionAnalysis entities for the experiment.
 
 - 
redoAnalysispublic Collection<DifferentialExpressionAnalysis> redoAnalysis(ExpressionExperiment ee, DifferentialExpressionAnalysis copyMe, boolean persist) Description copied from interface:DifferentialExpressionAnalyzerServiceRedo- Specified by:
- redoAnalysisin interface- DifferentialExpressionAnalyzerService
- Parameters:
- ee- the experiment
- copyMe- analysis to base new one on whether the results should be persisted
- persist- whether to persist when done
- Returns:
- DEAs
 
 - 
runDifferentialExpressionAnalysespublic Collection<DifferentialExpressionAnalysis> runDifferentialExpressionAnalyses(ExpressionExperiment expressionExperiment, DifferentialExpressionAnalysisConfig config) - Specified by:
- runDifferentialExpressionAnalysesin interface- DifferentialExpressionAnalyzerService
- Parameters:
- expressionExperiment- the experiment
- config- config
- Returns:
- persistent analyses.
 
 - 
persistAnalysispublic DifferentialExpressionAnalysis persistAnalysis(ExpressionExperiment expressionExperiment, DifferentialExpressionAnalysis analysis, DifferentialExpressionAnalysisConfig config) Made public for testing purposes only.- Specified by:
- persistAnalysisin interface- DifferentialExpressionAnalyzerService
- Parameters:
- config- config
- analysis- analysis
- expressionExperiment- the experiment
- Returns:
- DEA
 
 - 
deleteStatisticspublic void deleteStatistics(ExpressionExperiment ee, DifferentialExpressionAnalysis analysis) Remove old files which will otherwise be cruft.- Parameters:
- ee- the experiment
- analysis- analysis
 
 
- 
 
-