Class CoexpressionAnalysisServiceImpl
java.lang.Object
ubic.gemma.persistence.service.AbstractService<CoexpressionAnalysis>
ubic.gemma.persistence.service.analysis.expression.coexpression.CoexpressionAnalysisServiceImpl
- All Implemented Interfaces:
AnalysisService<CoexpressionAnalysis>,CoexpressionAnalysisService,BaseImmutableService<CoexpressionAnalysis>,BaseReadOnlyService<CoexpressionAnalysis>,BaseService<CoexpressionAnalysis>,SecurableBaseImmutableService<CoexpressionAnalysis>,SecurableBaseReadOnlyService<CoexpressionAnalysis>,SecurableBaseService<CoexpressionAnalysis>
@Service
public class CoexpressionAnalysisServiceImpl
extends AbstractService<CoexpressionAnalysis>
implements CoexpressionAnalysisService
- Author:
- paul
-
Field Summary
Fields inherited from class ubic.gemma.persistence.service.AbstractService
log -
Constructor Summary
ConstructorsConstructorDescriptionCoexpressionAnalysisServiceImpl(CoexpressionAnalysisDao mainDao, CoexpressionService coexpressionService) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCoexpCorrelationDistribution(ExpressionExperiment expressionExperiment, CoexpCorrelationDistribution coexpd) For backfilling of the coexpression distributions from flat files - remove when no longer needed.findByExperimentAnalyzed(ExpressionExperiment investigation) findByExperimentsAnalyzed(Collection<ExpressionExperiment> investigations) findByTaxon(Taxon taxon) getCoexpCorrelationDistribution(ExpressionExperiment expressionExperiment) getExperimentsWithAnalysis(Collection<Long> experimentAnalyzedIds) Not secured: for internal use onlygetExperimentsWithAnalysis(Taxon taxon) Not secured: for internal use onlyvoidremove(Collection<CoexpressionAnalysis> entities) voidremove(CoexpressionAnalysis toDelete) voidMethods inherited from class ubic.gemma.persistence.service.AbstractService
countAll, create, create, ensureInSession, ensureInSession, find, findOrCreate, findOrFail, getElementClass, load, load, loadAll, loadOrFail, loadOrFail, loadOrFail, loadOrFail, loadOrFail, loadOrFail, save, save, streamAll, streamAll, update, updateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ubic.gemma.persistence.service.BaseReadOnlyService
countAll, getElementClass, loadOrFail, loadOrFailMethods inherited from interface ubic.gemma.persistence.service.common.auditAndSecurity.SecurableBaseImmutableService
create, create, findOrCreateMethods inherited from interface ubic.gemma.persistence.service.common.auditAndSecurity.SecurableBaseReadOnlyService
find, findOrFail, load, load, loadAll, loadOrFail, loadOrFail, loadOrFail, loadOrFail, streamAll, streamAllMethods inherited from interface ubic.gemma.persistence.service.common.auditAndSecurity.SecurableBaseService
save, save, update, update
-
Constructor Details
-
CoexpressionAnalysisServiceImpl
@Autowired public CoexpressionAnalysisServiceImpl(CoexpressionAnalysisDao mainDao, CoexpressionService coexpressionService)
-
-
Method Details
-
findByTaxon
- Specified by:
findByTaxonin interfaceCoexpressionAnalysisService
-
getExperimentsWithAnalysis
@Transactional(readOnly=true) public Collection<Long> getExperimentsWithAnalysis(Collection<Long> experimentAnalyzedIds) Description copied from interface:CoexpressionAnalysisServiceNot secured: for internal use only- Specified by:
getExperimentsWithAnalysisin interfaceCoexpressionAnalysisService- Parameters:
experimentAnalyzedIds- expression experiment IDs- Returns:
- the ones which have a coexpression analysis.
-
getExperimentsWithAnalysis
Description copied from interface:CoexpressionAnalysisServiceNot secured: for internal use only- Specified by:
getExperimentsWithAnalysisin interfaceCoexpressionAnalysisService- Parameters:
taxon- taxon- Returns:
- ids of bioassaysets from the given taxon that have a coexpression analysis
-
getCoexpCorrelationDistribution
@Transactional(readOnly=true) public CoexpCorrelationDistribution getCoexpCorrelationDistribution(ExpressionExperiment expressionExperiment) - Specified by:
getCoexpCorrelationDistributionin interfaceCoexpressionAnalysisService
-
addCoexpCorrelationDistribution
@Transactional public void addCoexpCorrelationDistribution(ExpressionExperiment expressionExperiment, CoexpCorrelationDistribution coexpd) Description copied from interface:CoexpressionAnalysisServiceFor backfilling of the coexpression distributions from flat files - remove when no longer needed.- Specified by:
addCoexpCorrelationDistributionin interfaceCoexpressionAnalysisService- Parameters:
expressionExperiment- eecoexpd- coexpd
-
remove
- Specified by:
removein interfaceBaseImmutableService<CoexpressionAnalysis>- Specified by:
removein interfaceSecurableBaseImmutableService<CoexpressionAnalysis>- Overrides:
removein classAbstractService<CoexpressionAnalysis>- See Also:
-
remove
- Specified by:
removein interfaceBaseImmutableService<CoexpressionAnalysis>- Specified by:
removein interfaceSecurableBaseImmutableService<CoexpressionAnalysis>- Overrides:
removein classAbstractService<CoexpressionAnalysis>- See Also:
-
findByExperimentAnalyzed
@Transactional(readOnly=true) public Collection<CoexpressionAnalysis> findByExperimentAnalyzed(ExpressionExperiment investigation) - Specified by:
findByExperimentAnalyzedin interfaceCoexpressionAnalysisService- Parameters:
investigation- experiment analyzed- Returns:
- find all the analyses that involved the given investigation
-
findByExperimentsAnalyzed
@Transactional(readOnly=true) public Map<ExpressionExperiment,Collection<CoexpressionAnalysis>> findByExperimentsAnalyzed(Collection<ExpressionExperiment> investigations) - Specified by:
findByExperimentsAnalyzedin interfaceCoexpressionAnalysisService- Parameters:
investigations- investigations- 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
-
removeForExperimentAnalyzed
- Specified by:
removeForExperimentAnalyzedin interfaceCoexpressionAnalysisService
-