Package ubic.gemma.core.analysis.service
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 Constructor Description ExpressionDataMatrixServiceImpl()
-
Method Summary
-
-
-
Method Detail
-
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 or null if the EE has no processed EVs
- 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)
- Specified by:
getProcessedExpressionDataMatrixin interfaceExpressionDataMatrixService- Parameters:
ee- the expression experiment.- Returns:
- matrix of preferred data, with all missing values masked or null if there are no processed EVs
-
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
-
getRankMatrix
@Transactional(readOnly=true) public DoubleMatrix<Gene,ExpressionExperiment> getRankMatrix(Collection<Gene> genes, Collection<ExpressionExperiment> ees, ProcessedExpressionDataVectorDao.RankMethod method)
- Specified by:
getRankMatrixin interfaceExpressionDataMatrixService
-
-