Interface DifferentialExpressionResultService
- All Superinterfaces:
BaseReadOnlyService<DifferentialExpressionAnalysisResult>
- All Known Implementing Classes:
DifferentialExpressionResultServiceImpl
public interface DifferentialExpressionResultService
extends BaseReadOnlyService<DifferentialExpressionAnalysisResult>
Main entry point to retrieve differential expression data.
- Author:
- kelsey
-
Method Summary
Modifier and TypeMethodDescriptionfindByExperimentAnalyzed
(Collection<? extends BioAssaySet> experimentsAnalyzed, boolean includeSubSets, double threshold, int limit) Given a list of experiments and a threshold value finds all the probes that met the cut off in the given experimentsfindByGene
(Gene gene, boolean keepNonSpecificProbes) Returns a map of a collection ofDifferentialExpressionAnalysisResult
s keyed byExpressionExperiment
.findByGene
(Gene gene, boolean keepNonSpecificProbes, double threshold, int limit) Find differential expression for a gene, exceeding a given significance level (using the corrected pvalue field)findByGeneAndExperimentAnalyzed
(Gene gene, boolean keepNonSpecificProbes, Collection<? extends BioAssaySet> experimentsAnalyzed, boolean includeSubSets) Returns a map of a collection ofDifferentialExpressionAnalysisResult
s keyed byExpressionExperiment
.findByGeneAndExperimentAnalyzed
(Gene gene, boolean keepNonSpecificProbes, Collection<? extends BioAssaySet> experimentsAnalyzed, boolean includeSubSets, double threshold, int limit) Find differential expression for a gene in given data sets, exceeding a given significance level (using the corrected pvalue field)findByGeneAndExperimentAnalyzedIds
(Gene gene, boolean keepNonSpecific, Collection<Long> experimentAnalyzedIds, boolean includeSubSets, Map<DifferentialExpressionAnalysisResult, Long> sourceExperimentIdMap, Map<DifferentialExpressionAnalysisResult, Long> experimentAnalyzedIdMap, Map<DifferentialExpressionAnalysisResult, Baseline> baselineMap, double threshold, boolean initializeFactorValues) findDiffExAnalysisResultIdsInResultSets
(Collection<DiffExResultSetSummaryValueObject> resultSets, Collection<Long> geneIds) Retrieve differential expression results in bulk.findInResultSet
(ExpressionAnalysisResultSet ar, Double threshold, int maxResultsToReturn, int minNumberOfResults) Methods inherited from interface ubic.gemma.persistence.service.BaseReadOnlyService
countAll, find, findOrFail, getElementClass, load, load, loadAll, loadOrFail, loadOrFail, loadOrFail, loadOrFail, streamAll, streamAll
-
Method Details
-
findByExperimentAnalyzed
@Secured({"IS_AUTHENTICATED_ANONYMOUSLY","AFTER_ACL_VALUE_OBJECT_MAP_READ"}) Map<BioAssaySetValueObject,List<DifferentialExpressionValueObject>> findByExperimentAnalyzed(Collection<? extends BioAssaySet> experimentsAnalyzed, boolean includeSubSets, double threshold, int limit) Given a list of experiments and a threshold value finds all the probes that met the cut off in the given experiments- Parameters:
experimentsAnalyzed
- eesincludeSubSets
- if true, include the subsets of the experiments analyzedthreshold
- thresholdlimit
- limit- Returns:
- map to diff ex VOs
-
findByGene
@Secured({"IS_AUTHENTICATED_ANONYMOUSLY","AFTER_ACL_VALUE_OBJECT_MAP_READ"}) Map<BioAssaySetValueObject,List<DifferentialExpressionValueObject>> findByGene(Gene gene, boolean keepNonSpecificProbes) Returns a map of a collection ofDifferentialExpressionAnalysisResult
s keyed byExpressionExperiment
.- Parameters:
gene
- genekeepNonSpecificProbes
-- Returns:
- map to diff ex VOs
-
findByGene
@Secured({"IS_AUTHENTICATED_ANONYMOUSLY","AFTER_ACL_VALUE_OBJECT_MAP_READ"}) Map<BioAssaySetValueObject,List<DifferentialExpressionValueObject>> findByGene(Gene gene, boolean keepNonSpecificProbes, double threshold, int limit) Find differential expression for a gene, exceeding a given significance level (using the corrected pvalue field)- Parameters:
gene
- genekeepNonSpecificProbes
-threshold
- thresholdlimit
- limit- Returns:
- map to diff ex VOs
-
findByGeneAndExperimentAnalyzedIds
@Secured("IS_AUTHENTICATED_ANONYMOUSLY") List<DifferentialExpressionAnalysisResult> findByGeneAndExperimentAnalyzedIds(Gene gene, boolean keepNonSpecific, Collection<Long> experimentAnalyzedIds, boolean includeSubSets, Map<DifferentialExpressionAnalysisResult, Long> sourceExperimentIdMap, Map<DifferentialExpressionAnalysisResult, Long> experimentAnalyzedIdMap, Map<DifferentialExpressionAnalysisResult, Baseline> baselineMap, double threshold, boolean initializeFactorValues) - See Also:
-
findByGeneAndExperimentAnalyzed
@Secured({"IS_AUTHENTICATED_ANONYMOUSLY","AFTER_ACL_VALUE_OBJECT_MAP_READ"}) Map<BioAssaySetValueObject,List<DifferentialExpressionValueObject>> findByGeneAndExperimentAnalyzed(Gene gene, boolean keepNonSpecificProbes, Collection<? extends BioAssaySet> experimentsAnalyzed, boolean includeSubSets) Returns a map of a collection ofDifferentialExpressionAnalysisResult
s keyed byExpressionExperiment
.- Parameters:
gene
- genekeepNonSpecificProbes
-experimentsAnalyzed
- eesincludeSubSets
-- Returns:
- map to diff ex VOs
-
findByGeneAndExperimentAnalyzed
@Secured({"IS_AUTHENTICATED_ANONYMOUSLY","AFTER_ACL_VALUE_OBJECT_MAP_READ"}) Map<BioAssaySetValueObject,List<DifferentialExpressionValueObject>> findByGeneAndExperimentAnalyzed(Gene gene, boolean keepNonSpecificProbes, Collection<? extends BioAssaySet> experimentsAnalyzed, boolean includeSubSets, double threshold, int limit) Find differential expression for a gene in given data sets, exceeding a given significance level (using the corrected pvalue field)- Parameters:
gene
- genekeepNonSpecificProbes
-experimentsAnalyzed
- eesincludeSubSets
-threshold
- thresholdlimit
- limit- Returns:
- map to diff ex VOs
-
findDiffExAnalysisResultIdsInResultSets
Map<Long,Map<Long, findDiffExAnalysisResultIdsInResultSetsDiffExprGeneSearchResult>> (Collection<DiffExResultSetSummaryValueObject> resultSets, Collection<Long> geneIds) Retrieve differential expression results in bulk. This is an important method for the differential expression interfaces.- Parameters:
resultSets
- result setsgeneIds
- gene ids- Returns:
- map of resultset IDs to map of gene id to differential expression results.
-
findInResultSet
List<DifferentialExpressionValueObject> findInResultSet(ExpressionAnalysisResultSet ar, Double threshold, int maxResultsToReturn, int minNumberOfResults) -
loadContrastDetailsForResults
- Parameters:
ids
- ids- Returns:
- map of result to contrasts value object.
-