Interface GeneDifferentialExpressionService
- All Known Implementing Classes:
GeneDifferentialExpressionServiceImpl
public interface GeneDifferentialExpressionService
- Author:
- paul
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final double
p values smaller than this will be treated as this value in a meta-analysis. -
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> activeExperiments, boolean includeSubSets) Get the differential expression analysis results for the gene in the activeExperiments.
-
Field Details
-
PVALUE_CLIP_THRESHOLD
static final double PVALUE_CLIP_THRESHOLDp values smaller than this will be treated as this value in a meta-analysis. The reason is to avoid extremely low pvalues from driving meta-pvalues down too fast. This is suggested by the fact that very small pvalues presume an extremely high precision in agreement between the tails of the true null distribution and the analytic distribution used to compute the pvalues (e.g., F or t).- See Also:
-
-
Method Details
-
configExperimentalFactorValueObject
-
getDifferentialExpression
Collection<DifferentialExpressionValueObject> 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.- Parameters:
gene
- gene of interestexperimentsAnalyzed
- set of experiments or subsets to searchincludeSubSets
- include subsets of the experiments analyzed- Returns:
- DEA VOs
-
getDifferentialExpression
Collection<DifferentialExpressionValueObject> 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.- 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
Collection<DifferentialExpressionValueObject> getDifferentialExpression(Gene gene, double threshold, Collection<DiffExpressionSelectedFactorCommand> factorMap) 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)- Parameters:
gene
- genethreshold
- thresholdfactorMap
- factor map- Returns:
- DEA VOs
-
getDifferentialExpression
Collection<DifferentialExpressionValueObject> getDifferentialExpression(Gene gene, double threshold, int limit) Get the differential expression results for the given gene across all datasets.- Parameters:
gene
- genethreshold
- thresholdlimit
- limit- Returns:
- DEA VOs
-
getDifferentialExpressionMetaAnalysis
DifferentialExpressionMetaAnalysisValueObject getDifferentialExpressionMetaAnalysis(double threshold, Gene g, Map<Long, Long> eeFactorsMap, Collection<BioAssaySet> activeExperiments, boolean includeSubSets) Get the differential expression analysis results for the gene in the activeExperiments.- Parameters:
threshold
- thresholdg
- geneeeFactorsMap
- factor mapactiveExperiments
- active eesincludeSubSets
-- Returns:
- diff exp. analysis meta VO
-