Interface ExpressionAnalysisResultSetDao
- 
- All Superinterfaces:
- AnalysisResultSetDao<DifferentialExpressionAnalysisResult,ExpressionAnalysisResultSet>,- BaseDao<ExpressionAnalysisResultSet>,- BaseVoEnabledDao<ExpressionAnalysisResultSet,DifferentialExpressionAnalysisResultSetValueObject>,- FilteringDao<ExpressionAnalysisResultSet>,- FilteringVoEnabledDao<ExpressionAnalysisResultSet,DifferentialExpressionAnalysisResultSetValueObject>
 - All Known Implementing Classes:
- ExpressionAnalysisResultSetDaoImpl
 
 public interface ExpressionAnalysisResultSetDao extends AnalysisResultSetDao<DifferentialExpressionAnalysisResult,ExpressionAnalysisResultSet>, FilteringVoEnabledDao<ExpressionAnalysisResultSet,DifferentialExpressionAnalysisResultSetValueObject> - See Also:
- ExpressionAnalysisResultSet
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancanDelete(DifferentialExpressionAnalysis differentialExpressionAnalysis)longcountResults(ExpressionAnalysisResultSet ears)Count the number of results in a given result set.longcountResults(ExpressionAnalysisResultSet ears, double threshold)Count the number of results in a given result set below a given corrected P-value threshold.Slice<DifferentialExpressionAnalysisResultSetValueObject>findByBioAssaySetInAndDatabaseEntryInLimit(Collection<BioAssaySet> bioAssaySets, Collection<DatabaseEntry> databaseEntries, Filters filters, int offset, int limit, Sort sort)Retrieve result sets associated to a set ofBioAssaySetand external database entries.BaselinegetBaseline(ExpressionAnalysisResultSet ears)Retrieve the baseline for the given result set.Map<ExpressionAnalysisResultSet,Baseline>getBaselinesForInteractions(Collection<ExpressionAnalysisResultSet> resultSets, boolean initializeFactorValues)Retrieve baselines for all the given result sets representing factor interactions.Map<Long,Baseline>getBaselinesForInteractionsByIds(Collection<Long> ids, boolean initializeFactorValues)Retrieve baselines using result set IDs representing factor interactions.Map<Long,List<Gene>>loadResultToGenesMap(ExpressionAnalysisResultSet resultSet, boolean queryByResult)Load aDifferentialExpressionAnalysisResulttoGenemulti-map.DifferentialExpressionAnalysisResultSetValueObjectloadValueObjectWithResults(ExpressionAnalysisResultSet resultSet, boolean includeFactorValuesInContrasts, boolean queryGenesByResult, boolean includeTaxonInGenes)Load an analysis result set with its all of its associated results.ExpressionAnalysisResultSetloadWithResultsAndContrasts(Long id)Load an analysis result set with its all of its associated results.ExpressionAnalysisResultSetloadWithResultsAndContrasts(Long id, double threshold, int offset, int limit)Load a slice of an analysis result set with a corrected P-value threshold.ExpressionAnalysisResultSetloadWithResultsAndContrasts(Long id, int offset, int limit)Load a slice of an analysis result set.voidthaw(ExpressionAnalysisResultSet ears)Initialize the analysis and subset factor vale.- 
Methods inherited from interface ubic.gemma.persistence.service.BaseDaocountAll, create, create, find, findOrCreate, getElementClass, getIdentifierPropertyName, load, load, loadAll, loadReference, loadReference, remove, remove, remove, save, save, update, update
 - 
Methods inherited from interface ubic.gemma.persistence.service.BaseVoEnabledDaoloadAllValueObjects, loadValueObject, loadValueObjectById, loadValueObjects, loadValueObjectsByIds
 - 
Methods inherited from interface ubic.gemma.persistence.service.FilteringDaocount, getFilter, getFilter, getFilter, getFilter, getFilterableProperties, getFilterablePropertyAllowedValues, getFilterablePropertyDescription, getFilterablePropertyIsUsingSubquery, getFilterablePropertyType, getSort, load, load, loadIds
 - 
Methods inherited from interface ubic.gemma.persistence.service.FilteringVoEnabledDaoloadValueObjects, loadValueObjects
 
- 
 
- 
- 
- 
Method Detail- 
loadWithResultsAndContrasts@Nullable ExpressionAnalysisResultSet loadWithResultsAndContrasts(Long id) Load an analysis result set with its all of its associated results.- Parameters:
- id- the ID of the analysis result set
- Returns:
- the analysis result set with its associated results, or null if not found
 
 - 
loadWithResultsAndContrasts@Nullable ExpressionAnalysisResultSet loadWithResultsAndContrasts(Long id, int offset, int limit) Load a slice of an analysis result set.Results are sorted by ascending correct P-value. - Parameters:
- offset- an offset of results to load
- limit- a limit of results to load, or -1 to load all results starting at offset
- See Also:
- loadWithResultsAndContrasts(Long)
 
 - 
loadWithResultsAndContrasts@Nullable ExpressionAnalysisResultSet loadWithResultsAndContrasts(Long id, double threshold, int offset, int limit) Load a slice of an analysis result set with a corrected P-value threshold.Important note: when using a threshold, results with null P-values will not be included, thus setting the threshold to 1.0is not equivalent toloadWithResultsAndContrasts(Long, int, int).- Parameters:
- threshold- corrected P-value maximum threshold (inclusive)
 
 - 
canDeleteboolean canDelete(DifferentialExpressionAnalysis differentialExpressionAnalysis) 
 - 
loadValueObjectWithResultsDifferentialExpressionAnalysisResultSetValueObject loadValueObjectWithResults(ExpressionAnalysisResultSet resultSet, boolean includeFactorValuesInContrasts, boolean queryGenesByResult, boolean includeTaxonInGenes) Load an analysis result set with its all of its associated results.- Parameters:
- includeFactorValuesInContrasts-
- queryGenesByResult- query genes by results instead of result set, this is considerably faster if the results are sliced (i.e. from- loadWithResultsAndContrasts(Long, int, int))
- includeTaxonInGenes-
- See Also:
- BaseVoEnabledDao.loadValueObject(Identifiable),- loadResultToGenesMap(ExpressionAnalysisResultSet, boolean)
 
 - 
loadResultToGenesMapMap<Long,List<Gene>> loadResultToGenesMap(ExpressionAnalysisResultSet resultSet, boolean queryByResult) Load aDifferentialExpressionAnalysisResulttoGenemulti-map.This is much faster than navigating through the probe's alignments, transcripts and then genes as it uses the internal GENE2CS table described in TableMaintenanceUtil.updateGene2CsEntries().Note: Not all probes have associated genes, so you should use Map.getOrDefault(Object, Object)with an empty collection to handle this case.- Parameters:
- queryByResult- query by results instead of result set, this is considerably faster if the results are sliced (i.e. from- loadWithResultsAndContrasts(Long, int, int))
 
 - 
findByBioAssaySetInAndDatabaseEntryInLimitSlice<DifferentialExpressionAnalysisResultSetValueObject> findByBioAssaySetInAndDatabaseEntryInLimit(@Nullable Collection<BioAssaySet> bioAssaySets, @Nullable Collection<DatabaseEntry> databaseEntries, @Nullable Filters filters, int offset, int limit, @Nullable Sort sort) Retrieve result sets associated to a set ofBioAssaySetand external database entries.- Parameters:
- bioAssaySets- related- BioAssaySet, or any if null
- databaseEntries- related external identifier associated to the- BioAssaySet, or any if null
- filters- filters for restricting results
- limit- maximum number of results to return
- sort- field and direction by which the collection is ordered
 
 - 
thawvoid thaw(ExpressionAnalysisResultSet ears) Initialize the analysis and subset factor vale.
 - 
countResultslong countResults(ExpressionAnalysisResultSet ears) Count the number of results in a given result set.
 - 
countResultslong countResults(ExpressionAnalysisResultSet ears, double threshold) Count the number of results in a given result set below a given corrected P-value threshold.
 - 
getBaseline@Nullable Baseline getBaseline(ExpressionAnalysisResultSet ears) Retrieve the baseline for the given result set.Factor values are always initialized. - Returns:
- a baseline, or null if none could be determined for the given result set
 
 - 
getBaselinesForInteractionsMap<ExpressionAnalysisResultSet,Baseline> getBaselinesForInteractions(Collection<ExpressionAnalysisResultSet> resultSets, boolean initializeFactorValues) Retrieve baselines for all the given result sets representing factor interactions.- Parameters:
- initializeFactorValues- whether to initialize factor values
 
 - 
getBaselinesForInteractionsByIdsMap<Long,Baseline> getBaselinesForInteractionsByIds(Collection<Long> ids, boolean initializeFactorValues) Retrieve baselines using result set IDs representing factor interactions.- Parameters:
- initializeFactorValues- whether to initialize factor values
 
 
- 
 
-