Class ExpressionDataMatrixServiceImpl
java.lang.Object
ubic.gemma.core.analysis.service.ExpressionDataMatrixServiceImpl
- All Implemented Interfaces:
ExpressionDataMatrixService
@Component
public class ExpressionDataMatrixServiceImpl
extends Object
implements ExpressionDataMatrixService
Tools for easily getting data matrices for analysis in a consistent way.
- Author:
- keshav
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFilteredMatrix(String arrayDesignName, FilterConfig filterConfig, Collection<ProcessedExpressionDataVector> dataVectors) getFilteredMatrix(ExpressionExperiment ee, FilterConfig filterConfig) Provide a filtered expression data matrix.getFilteredMatrix(ExpressionExperiment ee, FilterConfig filterConfig, Collection<ProcessedExpressionDataVector> dataVectors) Provide a filtered expression data matrix.Obtain the processed expression data matrix for a given experiment.getProcessedExpressionDataMatrix(ExpressionExperiment ee, boolean thawAssays) getProcessedExpressionDataMatrix(ExpressionExperiment ee, List<BioAssay> samples) getRankMatrix(Collection<Gene> genes, Collection<ExpressionExperiment> ees, ProcessedExpressionDataVectorDao.RankMethod method) getRawExpressionDataMatrix(ExpressionExperiment ee, List<BioAssay> samples, QuantitationType quantitationType) getRawExpressionDataMatrix(ExpressionExperiment ee, QuantitationType quantitationType) Obtain a raw expression data matrix for a given quantitation type
-
Constructor Details
-
ExpressionDataMatrixServiceImpl
public ExpressionDataMatrixServiceImpl()
-
-
Method Details
-
getFilteredMatrix
@Transactional(readOnly=true) public ExpressionDataDoubleMatrix getFilteredMatrix(ExpressionExperiment ee, FilterConfig filterConfig) throws FilteringException Description copied from interface:ExpressionDataMatrixServiceProvide a filtered expression data matrix.- Specified by:
getFilteredMatrixin interfaceExpressionDataMatrixService- Parameters:
ee- the expression experiment.filterConfig- the configuration.- Returns:
- data matrix
- Throws:
FilteringException
-
getFilteredMatrix
@Transactional(readOnly=true) public ExpressionDataDoubleMatrix getFilteredMatrix(ExpressionExperiment ee, FilterConfig filterConfig, Collection<ProcessedExpressionDataVector> dataVectors) throws FilteringException Description copied from interface:ExpressionDataMatrixServiceProvide a filtered expression data matrix.- Specified by:
getFilteredMatrixin interfaceExpressionDataMatrixService- Parameters:
ee- the expression experiment.filterConfig- the configuration.dataVectors- data vectors- Returns:
- data matrix
- Throws:
FilteringException
-
getFilteredMatrix
@Transactional(readOnly=true) public ExpressionDataDoubleMatrix getFilteredMatrix(String arrayDesignName, FilterConfig filterConfig, Collection<ProcessedExpressionDataVector> dataVectors) throws FilteringException - Specified by:
getFilteredMatrixin interfaceExpressionDataMatrixService- Throws:
FilteringException
-
getProcessedExpressionDataMatrix
@Transactional(readOnly=true) public ExpressionDataDoubleMatrix getProcessedExpressionDataMatrix(ExpressionExperiment ee) Description copied from interface:ExpressionDataMatrixServiceObtain the processed expression data matrix for a given experiment.- Specified by:
getProcessedExpressionDataMatrixin interfaceExpressionDataMatrixService
-
getProcessedExpressionDataMatrix
@Transactional(readOnly=true) public ExpressionDataDoubleMatrix getProcessedExpressionDataMatrix(ExpressionExperiment ee, boolean thawAssays) - Specified by:
getProcessedExpressionDataMatrixin interfaceExpressionDataMatrixService- Parameters:
ee- the expression experiment.thawAssays- whether to thaw the assays or not usingThaws.thawBioAssayDimension(BioAssayDimension)- Returns:
- matrix of preferred data, with all missing values masked
-
getProcessedExpressionDataMatrix
@Transactional(readOnly=true) public ExpressionDataDoubleMatrix getProcessedExpressionDataMatrix(ExpressionExperiment ee, List<BioAssay> samples) - Specified by:
getProcessedExpressionDataMatrixin interfaceExpressionDataMatrixService
-
getRawExpressionDataMatrix
@Transactional(readOnly=true) public ExpressionDataDoubleMatrix getRawExpressionDataMatrix(ExpressionExperiment ee, QuantitationType quantitationType) Description copied from interface:ExpressionDataMatrixServiceObtain a raw expression data matrix for a given quantitation type- Specified by:
getRawExpressionDataMatrixin interfaceExpressionDataMatrixService
-
getRawExpressionDataMatrix
@Transactional(readOnly=true) public ExpressionDataDoubleMatrix getRawExpressionDataMatrix(ExpressionExperiment ee, List<BioAssay> samples, QuantitationType quantitationType) - Specified by:
getRawExpressionDataMatrixin interfaceExpressionDataMatrixService
-
getRankMatrix
@Transactional(readOnly=true) public DoubleMatrix<Gene, ExpressionExperiment> getRankMatrix(Collection<Gene> genes, Collection<ExpressionExperiment> ees, ProcessedExpressionDataVectorDao.RankMethod method) - Specified by:
getRankMatrixin interfaceExpressionDataMatrixService
-