Package ubic.gemma.core.analysis.report
Class ExpressionExperimentReportServiceImpl
java.lang.Object
ubic.gemma.core.analysis.report.ExpressionExperimentReportServiceImpl
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean,ExpressionExperimentReportService
@Service("expressionExperimentReportService")
public class ExpressionExperimentReportServiceImpl
extends Object
implements ExpressionExperimentReportService, org.springframework.beans.factory.InitializingBean
Handles creation, serialization and/or marshaling of reports about expression experiments. Reports are stored in
ExpressionExperimentValueObjects.
- Author:
- jsantos, paul, klc
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidevictFromCache(Long id) Invalidate the cached 'report' for the experiment with the given id.generateSummary(Long id) Generate a value object that contain summary information about links, biomaterials, and datavectorsGenerates reports on ALL experiments, including 'private' ones.voidPopulate information about how many annotations there are, and how many factor values there are.voidFills in event and security information from the database.voidFills in link analysis and differential expression analysis summaries, and other info from the report.voidRecalculates the batch effect and batch confound information for the given dataset.retrieves a collection of cached value objects containing summary information
-
Constructor Details
-
ExpressionExperimentReportServiceImpl
public ExpressionExperimentReportServiceImpl()
-
-
Method Details
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean
-
evictFromCache
Description copied from interface:ExpressionExperimentReportServiceInvalidate the cached 'report' for the experiment with the given id. If it is not cached nothing happens.- Specified by:
evictFromCachein interfaceExpressionExperimentReportService- Parameters:
id- the id of the entity to evict
-
generateSummary
@Transactional(readOnly=true) public ExpressionExperimentDetailsValueObject generateSummary(Long id) Description copied from interface:ExpressionExperimentReportServiceGenerate a value object that contain summary information about links, biomaterials, and datavectors- Specified by:
generateSummaryin interfaceExpressionExperimentReportService- Parameters:
id- the id of the ee to generate summary for- Returns:
- details VO
-
generateSummaryObjects
@Transactional(propagation=NEVER) public Collection<ExpressionExperimentDetailsValueObject> generateSummaryObjects()Description copied from interface:ExpressionExperimentReportServiceGenerates reports on ALL experiments, including 'private' ones. This should only be run by administrators as it takes a while to run.- Specified by:
generateSummaryObjectsin interfaceExpressionExperimentReportService
-
getAnnotationInformation
@Transactional(readOnly=true) public void getAnnotationInformation(Collection<ExpressionExperimentDetailsValueObject> vos) Populate information about how many annotations there are, and how many factor values there are. Batch is not counted towards the number of factors- Specified by:
getAnnotationInformationin interfaceExpressionExperimentReportService
-
populateEventInformation
@Transactional(readOnly=true) public void populateEventInformation(Collection<ExpressionExperimentDetailsValueObject> vos) Fills in event and security information from the database. This will only retrieve the latest event (if any). This is rather slow so should be avoided if the information isn't needed.- Specified by:
populateEventInformationin interfaceExpressionExperimentReportService
-
populateReportInformation
@Transactional(readOnly=true) public void populateReportInformation(Collection<ExpressionExperimentDetailsValueObject> vos) Description copied from interface:ExpressionExperimentReportServiceFills in link analysis and differential expression analysis summaries, and other info from the report.- Specified by:
populateReportInformationin interfaceExpressionExperimentReportService- Parameters:
vos- value objects
-
retrieveSummaryObjects
@Transactional(readOnly=true) public Collection<ExpressionExperimentDetailsValueObject> retrieveSummaryObjects(Collection<Long> ids) Description copied from interface:ExpressionExperimentReportServiceretrieves a collection of cached value objects containing summary information- Specified by:
retrieveSummaryObjectsin interfaceExpressionExperimentReportService- Parameters:
ids- the ids of ees for which the summary objects should be retrieved.- Returns:
- a collection of cached value objects
-
recalculateExperimentBatchInfo
Description copied from interface:ExpressionExperimentReportServiceRecalculates the batch effect and batch confound information for the given dataset.- Specified by:
recalculateExperimentBatchInfoin interfaceExpressionExperimentReportService- Parameters:
ee- the experiment to recalculate the batch properties for.
-