Class GeneDifferentialExpressionServiceImpl
java.lang.Object
ubic.gemma.core.analysis.expression.diff.GeneDifferentialExpressionServiceImpl
- All Implemented Interfaces:
GeneDifferentialExpressionService
@Component
public class GeneDifferentialExpressionServiceImpl
extends Object
implements GeneDifferentialExpressionService
Provides access to
DifferentialExpressionAnalysisResult
s and meta-analysis results.- Author:
- keshav, anton
-
Field Summary
Fields inherited from interface ubic.gemma.core.analysis.expression.diff.GeneDifferentialExpressionService
PVALUE_CLIP_THRESHOLD
-
Constructor Summary
ConstructorsConstructorDescriptionGeneDifferentialExpressionServiceImpl
(DifferentialExpressionResultService differentialExpressionResultService) -
Method Summary
Modifier and TypeMethodDescriptiongetDifferentialExpression
(Gene gene, double threshold, int limit) Get the differential expression results for the given gene across all datasets.getDifferentialExpression
(Gene gene, double threshold, Collection<DiffExpressionSelectedFactorCommand> factorMap) Get differential expression for a gene, constrained to a specific set of factors.getDifferentialExpression
(Gene gene, Collection<BioAssaySet> experimentsAnalyzed, boolean includeSubSets) Get the differential expression results for the given gene that is in a specified set of experiments.getDifferentialExpression
(Gene gene, BioAssaySet experimentAnalyzed, boolean includeSubSets, double threshold, int limit) Get the differential expression results for the given gene that is in a specified set of experiments.getDifferentialExpressionMetaAnalysis
(double threshold, Gene g, Map<Long, Long> eeFactorsMap, Collection<BioAssaySet> experimentsAnalyzed, boolean includeSubSets) Get the differential expression analysis results for the gene in the activeExperiments.
-
Constructor Details
-
GeneDifferentialExpressionServiceImpl
@Autowired public GeneDifferentialExpressionServiceImpl(DifferentialExpressionResultService differentialExpressionResultService)
-
-
Method Details
-
configExperimentalFactorValueObject
- Specified by:
configExperimentalFactorValueObject
in interfaceGeneDifferentialExpressionService
-
getDifferentialExpression
public Collection<DifferentialExpressionValueObject> getDifferentialExpression(Gene gene, Collection<BioAssaySet> experimentsAnalyzed, boolean includeSubSets) Description copied from interface:GeneDifferentialExpressionService
Get the differential expression results for the given gene that is in a specified set of experiments.- Specified by:
getDifferentialExpression
in interfaceGeneDifferentialExpressionService
- Parameters:
gene
- gene of interestexperimentsAnalyzed
- set of experiments or subsets to searchincludeSubSets
- include subsets of the experiments analyzed- Returns:
- DEA VOs
-
getDifferentialExpression
public Collection<DifferentialExpressionValueObject> getDifferentialExpression(Gene gene, BioAssaySet experimentAnalyzed, boolean includeSubSets, double threshold, int limit) Description copied from interface:GeneDifferentialExpressionService
Get the differential expression results for the given gene that is in a specified set of experiments.- Specified by:
getDifferentialExpression
in interfaceGeneDifferentialExpressionService
- Parameters:
gene
- gene of interestexperimentAnalyzed
- set of experiments to searchincludeSubSets
- include subsets of the experiment analyzedthreshold
- the cutoff to determine if diff expressedlimit
- the maximum number of results to return (null for all)- Returns:
- DEA VOs
-
getDifferentialExpression
public Collection<DifferentialExpressionValueObject> getDifferentialExpression(Gene gene, double threshold, Collection<DiffExpressionSelectedFactorCommand> factorMap) Description copied from interface:GeneDifferentialExpressionService
Get differential expression for a gene, constrained to a specific set of factors. Note that interactions are ignored, only main effects (the factorMap can only have one factor per experiment)- Specified by:
getDifferentialExpression
in interfaceGeneDifferentialExpressionService
- Parameters:
gene
- genethreshold
- thresholdfactorMap
- factor map- Returns:
- DEA VOs
-
getDifferentialExpression
public Collection<DifferentialExpressionValueObject> getDifferentialExpression(Gene gene, double threshold, int limit) Description copied from interface:GeneDifferentialExpressionService
Get the differential expression results for the given gene across all datasets.- Specified by:
getDifferentialExpression
in interfaceGeneDifferentialExpressionService
- Parameters:
gene
- genethreshold
- thresholdlimit
- limit- Returns:
- DEA VOs
-
getDifferentialExpressionMetaAnalysis
public DifferentialExpressionMetaAnalysisValueObject getDifferentialExpressionMetaAnalysis(double threshold, Gene g, Map<Long, Long> eeFactorsMap, Collection<BioAssaySet> experimentsAnalyzed, boolean includeSubSets) Description copied from interface:GeneDifferentialExpressionService
Get the differential expression analysis results for the gene in the activeExperiments.- Specified by:
getDifferentialExpressionMetaAnalysis
in interfaceGeneDifferentialExpressionService
- Parameters:
threshold
- thresholdg
- geneeeFactorsMap
- factor mapexperimentsAnalyzed
- active eesincludeSubSets
-- Returns:
- diff exp. analysis meta VO
-