Interface SingleExperimentAnalysisService<T extends SingleExperimentAnalysis>
- All Superinterfaces:
AnalysisService<T>, BaseImmutableService<T>, BaseReadOnlyService<T>, SecurableBaseImmutableService<T>, SecurableBaseReadOnlyService<T>
- All Known Subinterfaces:
CoexpressionAnalysisService, DifferentialExpressionAnalysisService
- All Known Implementing Classes:
CoexpressionAnalysisServiceImpl, DifferentialExpressionAnalysisServiceImpl
public interface SingleExperimentAnalysisService<T extends SingleExperimentAnalysis>
extends AnalysisService<T>, SecurableBaseImmutableService<T>
Interface for analysis service manipulating single experiments.
- Author:
- poirigui
-
Method Summary
Modifier and TypeMethodDescriptionfindByExperiment(BioAssaySet experimentAnalyzed, boolean includeSubSets) findByExperiments(Collection<BioAssaySet> investigations, boolean includeSubSets) getExperimentsWithAnalysis(Collection<Long> experimentAnalyzedIds, boolean includeSubSets) Not secured: for internal use onlygetExperimentsWithAnalysis(Taxon taxon) Not secured: for internal use onlyvoidremoveForExperiment(BioAssaySet ee, boolean includeSubSets) Removes all analyses for the given experimentMethods inherited from interface BaseReadOnlyService
countAll, getElementClassMethods inherited from interface SecurableBaseImmutableService
create, create, findOrCreate, remove, remove, removeMethods inherited from interface SecurableBaseReadOnlyService
find, findOrFail, load, load, loadAll, loadOrFail, loadOrFail, loadOrFail, loadOrFail, streamAll, streamAll
-
Method Details
-
findByExperiment
@Secured({"IS_AUTHENTICATED_ANONYMOUSLY","AFTER_ACL_COLLECTION_READ"}) Collection<T> findByExperiment(BioAssaySet experimentAnalyzed, boolean includeSubSets) - Parameters:
experimentAnalyzed- experiment analyzedincludeSubSets- if the experiment is aExpressionExperiment, include analyses for itsExpressionExperimentSubSet- Returns:
- find all the analyses that involved the given investigation
-
findByExperiments
@Secured({"IS_AUTHENTICATED_ANONYMOUSLY","ACL_SECURABLE_COLLECTION_READ","AFTER_ACL_MAP_READ"}) Map<BioAssaySet, Collection<T>> findByExperiments(Collection<BioAssaySet> investigations, boolean includeSubSets) - Parameters:
investigations- investigationsincludeSubSets- if the experiment is aExpressionExperiment, include analyses for itsExpressionExperimentSubSet- Returns:
- Given a collection of investigations returns a Map of Analysis --> collection of Investigations The collection of investigations returned by the map will include all the investigations for the analysis key iff one of the investigations for that analysis was in the given collection started with
-
getExperimentsWithAnalysis
Collection<Long> getExperimentsWithAnalysis(Collection<Long> experimentAnalyzedIds, boolean includeSubSets) Not secured: for internal use only- Parameters:
experimentAnalyzedIds- starting list of experiment or subset IDsincludeSubSets- retain IDs of experiments that have subset analyses- Returns:
- the ones which have an analysis
-
getExperimentsWithAnalysis
Not secured: for internal use only- Parameters:
taxon- taxon- Returns:
- ids of bioassaysets from the given taxon that have a coexpression analysis
-
removeForExperiment
@Secured({"GROUP_USER","ACL_SECURABLE_EDIT"}) void removeForExperiment(BioAssaySet ee, boolean includeSubSets) Removes all analyses for the given experiment- Parameters:
ee- the expriment to remove all analyses forincludeSubSets- if the experiment is aExpressionExperiment, also delete analyses of itsExpressionExperimentSubSet.
-