Interface DifferentialExpressionResultDao
- All Superinterfaces:
BaseDao<DifferentialExpressionAnalysisResult>
- All Known Implementing Classes:
DifferentialExpressionResultDaoImpl
public interface DifferentialExpressionResultDao
extends BaseDao<DifferentialExpressionAnalysisResult>
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionfindByExperimentAnalyzed
(Collection<Long> experimentAnalyzedIds, 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) Find differential expression results for a given gene, grouped by experiment.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<Long> experimentAnalyzedIds, boolean includeSubSets) Find differential expression results for a given gene and set of experiments, grouped by experiment.findByGeneAndExperimentAnalyzed
(Gene gene, boolean keepNonSpecificProbes, Collection<Long> 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)findByGeneAndExperimentAnalyzed
(Gene gene, Collection<Long> experimentAnalyzedIds, boolean includeSubsets, Map<DifferentialExpressionAnalysisResult, Long> sourceExperimentIdMap, Map<DifferentialExpressionAnalysisResult, Long> experimentAnalyzedIdMap, Map<DifferentialExpressionAnalysisResult, Baseline> baselineMap, double threshold, boolean keepNonSpecificProbes, boolean initializeFactorValues) Retrieve differential expression results for a given gene across all the given datasets.findByResultSet
(ExpressionAnalysisResultSet resultSet, double threshold, int maxResultsToReturn, int minNumberOfResults) findDiffExAnalysisResultIdsInResultSets
(Collection<DiffExResultSetSummaryValueObject> resultSets, Collection<Long> geneIds) Methods inherited from interface ubic.gemma.persistence.service.BaseDao
countAll, create, create, find, findOrCreate, getElementClass, getIdentifierPropertyName, load, load, loadAll, loadReference, loadReference, reload, reload, remove, remove, remove, save, save, streamAll, streamAll, update, update
-
Method Details
-
findByGene
Map<BioAssaySet,List<DifferentialExpressionAnalysisResult>> findByGene(Gene gene, boolean keepNonSpecificProbes) Find differential expression results for a given gene, grouped by experiment.- Returns:
- a map of a collection of
DifferentialExpressionAnalysisResult
s keyed byBioAssaySet
.
-
findByGene
Map<BioAssaySet,List<DifferentialExpressionAnalysisResult>> 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
- keep non-specific probes (i.e. probes that map to more than one gene)threshold
- thresholdlimit
- limit- Returns:
- map to diff exp VOs
-
findByExperimentAnalyzed
Map<BioAssaySet,List<DifferentialExpressionAnalysisResult>> findByExperimentAnalyzed(Collection<Long> experimentAnalyzedIds, 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 -
findByGeneAndExperimentAnalyzed
List<DifferentialExpressionAnalysisResult> findByGeneAndExperimentAnalyzed(Gene gene, Collection<Long> experimentAnalyzedIds, boolean includeSubsets, @Nullable Map<DifferentialExpressionAnalysisResult, Long> sourceExperimentIdMap, @Nullable Map<DifferentialExpressionAnalysisResult, Long> experimentAnalyzedIdMap, @Nullable Map<DifferentialExpressionAnalysisResult, Baseline> baselineMap, double threshold, boolean keepNonSpecificProbes, boolean initializeFactorValues) Retrieve differential expression results for a given gene across all the given datasets.Results are grouped by result set. If a gene maps to more than one probe, the result with the lowest corrected P-value is selected.
- Parameters:
gene
- a specific gene to retrieve differential expression forexperimentAnalyzedIds
- list of IDs of experiments or experiment subsets to considerincludeSubsets
- include results from experiment subsetssourceExperimentIdMap
- a mapping of results to source experiment IDexperimentAnalyzedIdMap
- a mapping of results to experiment analyzed IDbaselineMap
- a mapping of results to baselinesthreshold
- a maximum threshold on the corrected P-value, between 0 and 1 inclusivelykeepNonSpecificProbes
- whether to keep probes that map to more than one geneinitializeFactorValues
- whether to initialize factor values in contrasts and baselines, note that their experimental factors will not be initialized- Returns:
- differential expression results, grouped by analyzed experiment ID
-
findByGeneAndExperimentAnalyzed
Map<BioAssaySet,List<DifferentialExpressionAnalysisResult>> findByGeneAndExperimentAnalyzed(Gene gene, boolean keepNonSpecificProbes, Collection<Long> experimentAnalyzedIds, boolean includeSubSets) Find differential expression results for a given gene and set of experiments, grouped by experiment.- Parameters:
gene
- gene to retrieve differential expression forkeepNonSpecificProbes
- keep non-specific probes (i.e. probes that map to more than one gene)experimentAnalyzedIds
- IDs of experiments or experiment subsets to considerincludeSubSets
- include subsets of the analyzed experiments- Returns:
- a map of a collection of
DifferentialExpressionAnalysisResult
s keyed byBioAssaySet
.
-
findByGeneAndExperimentAnalyzed
Map<BioAssaySet,List<DifferentialExpressionAnalysisResult>> findByGeneAndExperimentAnalyzed(Gene gene, boolean keepNonSpecificProbes, Collection<Long> 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) -
findDiffExAnalysisResultIdsInResultSets
Map<Long,Map<Long, findDiffExAnalysisResultIdsInResultSetsDiffExprGeneSearchResult>> (Collection<DiffExResultSetSummaryValueObject> resultSets, Collection<Long> geneIds) - Returns:
- map of resultSetId to map of gene to DiffExprGeneSearchResult
-
findByResultSet
List<DifferentialExpressionValueObject> findByResultSet(ExpressionAnalysisResultSet resultSet, double threshold, int maxResultsToReturn, int minNumberOfResults) -
loadContrastDetailsForResults
-