public interface ProcessedExpressionDataVectorService
countAll, create, create, find, findOrCreate, findOrFail, load, load, loadAll, loadOrFail, remove, remove, removeAll, save, save, update
@Secured(value="GROUP_USER") ExpressionExperiment createProcessedDataVectors(ExpressionExperiment ee, Collection<ProcessedExpressionDataVector> vectors)
ee
- eevectors
- non-persistent, all of the same quantitationtype@Secured(value="GROUP_ADMIN") void clearCache()
@Secured(value="GROUP_USER") ExpressionExperiment createProcessedDataVectors(ExpressionExperiment expressionExperiment)
expressionExperiment
- ee@Secured(value={"IS_AUTHENTICATED_ANONYMOUSLY","ACL_SECURABLE_COLLECTION_READ"}) Collection<DoubleVectorValueObject> getProcessedDataArrays(Collection<? extends BioAssaySet> bioassaySets, Collection<Long> genes)
bioassaySets
- - expressionExperiments or expressionExperimentSubSetsgenes
- genes@Secured(value={"IS_AUTHENTICATED_ANONYMOUSLY","ACL_SECURABLE_COLLECTION_READ"}) List<ExperimentExpressionLevelsValueObject> getExpressionLevels(Collection<ExpressionExperiment> ees, Collection<Gene> genes, boolean keepGeneNonSpecific, @Nullable String consolidateMode)
ees
- expressionExperimentsgenes
- genesconsolidateMode
- how to consolidate the vectors when there is more than onekeepGeneNonSpecific
- whether to keep vectors that are not specific to the gene@Secured(value={"IS_AUTHENTICATED_ANONYMOUSLY","ACL_SECURABLE_COLLECTION_READ"}) @Transactional(readOnly=true) List<ExperimentExpressionLevelsValueObject> getExpressionLevelsPca(Collection<ExpressionExperiment> ees, int threshold, int component, boolean keepGeneNonSpecific, @Nullable String consolidateMode)
ees
- expressionExperimentscomponent
- the principal componentthreshold
- thresholdconsolidateMode
- how to consolidate the vectors when there is more than onekeepGeneNonSpecific
- whether to keep vectors that are not specific to the gene@Secured(value={"IS_AUTHENTICATED_ANONYMOUSLY","ACL_SECURABLE_COLLECTION_READ"}) @Transactional(readOnly=true) List<ExperimentExpressionLevelsValueObject> getExpressionLevelsDiffEx(Collection<ExpressionExperiment> ees, Long diffExResultSetId, double threshold, int max, boolean keepGeneNonSpecific, @Nullable String consolidateMode)
diffExResultSetId
- the differential expression result set to accessthreshold
- thresholdconsolidateMode
- how to consolidate the vectors when there is more than onekeepGeneNonSpecific
- whether to keep vectors that are not specific to the geneees
- eesmax
- max level@Secured(value={"IS_AUTHENTICATED_ANONYMOUSLY","ACL_SECURABLE_READ"}) Collection<DoubleVectorValueObject> getProcessedDataArrays(ExpressionExperiment expressionExperiment)
expressionExperiment
- ee@Secured(value={"IS_AUTHENTICATED_ANONYMOUSLY","ACL_SECURABLE_READ"}) Collection<DoubleVectorValueObject> getProcessedDataArrays(ExpressionExperiment ee, int limit)
limit
- (null limit = default hibernate limit).ee
- ee@Secured(value={"IS_AUTHENTICATED_ANONYMOUSLY","ACL_SECURABLE_COLLECTION_READ"}) Collection<DoubleVectorValueObject> getProcessedDataArraysByProbe(Collection<? extends BioAssaySet> expressionExperiments, Collection<CompositeSequence> compositeSequences)
expressionExperiments
- EEscompositeSequences
- composite sequences@Secured(value={"IS_AUTHENTICATED_ANONYMOUSLY","ACL_SECURABLE_READ"}) Collection<DoubleVectorValueObject> getProcessedDataArraysByProbeIds(BioAssaySet analyzedSet, Collection<Long> probes)
Collection<ProcessedExpressionDataVector> getProcessedDataVectors(ExpressionExperiment expressionExperiment)
@Secured(value={"IS_AUTHENTICATED_ANONYMOUSLY","ACL_AFTER_MAP_READ","ACL_SECURABLE_COLLECTION_READ"}) Map<ExpressionExperiment,Map<Gene,Collection<Double>>> getRanks(Collection<ExpressionExperiment> expressionExperiments, Collection<Gene> genes, ProcessedExpressionDataVectorDao.RankMethod method)
@Secured(value={"IS_AUTHENTICATED_ANONYMOUSLY","ACL_SECURABLE_READ"}) Map<Gene,Collection<Double>> getRanks(ExpressionExperiment expressionExperiment, Collection<Gene> genes, ProcessedExpressionDataVectorDao.RankMethod method)
@Secured(value={"IS_AUTHENTICATED_ANONYMOUSLY","ACL_SECURABLE_READ"}) Map<CompositeSequence,Double> getRanks(ExpressionExperiment expressionExperiment, ProcessedExpressionDataVectorDao.RankMethod method)
@Secured(value={"IS_AUTHENTICATED_ANONYMOUSLY","ACL_SECURABLE_COLLECTION_READ"}) Map<ExpressionExperiment,Map<Gene,Map<CompositeSequence,Double[]>>> getRanksByProbe(Collection<ExpressionExperiment> eeCol, Collection<Gene> pars)
eeCol
- eespars
- genes@Secured(value={"GROUP_USER","ACL_SECURABLE_EDIT"}) void removeProcessedDataVectors(ExpressionExperiment expressionExperiment)
@Deprecated void remove(Collection<ProcessedExpressionDataVector> processedExpressionDataVectors)
removeProcessedDataVectors(ExpressionExperiment)
instead, or clear ExpressionExperiment.getProcessedExpressionDataVectors()
directly. The relationship is
actually managed by Hibernate.BaseService
processedExpressionDataVectors
- the entities to be removed.List<DoubleVectorValueObject> getDiffExVectors(Long resultSetId, Double threshold, int maxNumberOfResults)
@Secured(value="GROUP_ADMIN") Collection<ProcessedExpressionDataVector> computeProcessedExpressionData(ExpressionExperiment ee)
ee
- the experimentPreprocessorService
@Secured(value="GROUP_ADMIN") void reorderByDesign(Long eeId)
eeId
- the experiment id@Secured(value="GROUP_ADMIN") void thawRawAndProcessed(Collection<DesignElementDataVector> vectors)
vectors
- the vectors to be thawed@Secured(value="GROUP_ADMIN") Collection<DesignElementDataVector> findRawAndProcessed(BioAssayDimension dim)
dim
- the BA dimension to limit the vector search to@Secured(value="GROUP_ADMIN") Collection<DesignElementDataVector> findRawAndProcessed(QuantitationType qt)
qt
- the quantitation type to limit the vector search to@Secured(value="GROUP_ADMIN") void removeDataForCompositeSequence(CompositeSequence compositeSequence)
T
) of vectors for the given CS.compositeSequence
- the sequence to remove the data for.@Secured(value="GROUP_ADMIN") void removeDataForQuantitationType(QuantitationType quantitationType)
T
) of vectors for the given QT.quantitationType
- the QT to remove the data for.void thaw(Collection<T> designElementDataVectors)
designElementDataVectors
- the vectors to thaw.@Secured(value={"IS_AUTHENTICATED_ANONYMOUSLY","AFTER_ACL_DATAVECTOR_COLLECTION_READ"}) Collection<T> find(ArrayDesign arrayDesign, QuantitationType quantitationType)
T
) of vectors that meet the given criteria.arrayDesign
- the ADquantitationType
- the QTT
.@Secured(value={"IS_AUTHENTICATED_ANONYMOUSLY","AFTER_ACL_DATAVECTOR_COLLECTION_READ"}) Collection<T> find(BioAssayDimension bioAssayDimension)
bioAssayDimension
- the BA dimensionT
@Secured(value="GROUP_ADMIN") Collection<T> find(Collection<QuantitationType> quantitationTypes)
T
) of vectors that meet the given criteria.quantitationTypes
- the QTsT
@Secured(value={"IS_AUTHENTICATED_ANONYMOUSLY","AFTER_ACL_DATAVECTOR_COLLECTION_READ"}) Collection<T> find(QuantitationType quantitationType)
T
) of vectors that meet the given criteria.quantitationType
- the QTT
@Secured(value={"IS_AUTHENTICATED_ANONYMOUSLY","AFTER_ACL_DATAVECTOR_COLLECTION_READ"}) Collection<T> find(Collection<CompositeSequence> designElements, QuantitationType quantitationType)
T
) of vectors that meet the given criteria.designElements
- design elementsquantitationType
- the QTT
@Secured(value={"IS_AUTHENTICATED_ANONYMOUSLY","AFTER_ACL_DATAVECTOR_COLLECTION_READ"}) Collection<T> findByExpressionExperiment(ExpressionExperiment expressionExperiment, QuantitationType quantitationType)
@Secured(value="GROUP_USER") void update(T dedv)
BaseService
update
in interface BaseService<T extends DesignElementDataVector>
dedv
- the entity to be updated.Copyright © 2005–2023 Pavlidis lab, Michael Smith Laboratories and Department of Psychiatry, University of British Columbia. All rights reserved.