Interface ExpressionDataMatrixService
- All Known Implementing Classes:
ExpressionDataMatrixServiceImpl
public interface ExpressionDataMatrixService
Tools for easily getting data matrices for analysis in a consistent way.
- Author:
- Paul
-
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
-
Method Details
-
getFilteredMatrix
ExpressionDataDoubleMatrix getFilteredMatrix(ExpressionExperiment ee, FilterConfig filterConfig) throws FilteringException Provide a filtered expression data matrix.- Parameters:
ee- the expression experiment.filterConfig- the configuration.- Returns:
- data matrix
- Throws:
IllegalStateException- if there are no processed vectorsFilteringException
-
getFilteredMatrix
ExpressionDataDoubleMatrix getFilteredMatrix(ExpressionExperiment ee, FilterConfig filterConfig, Collection<ProcessedExpressionDataVector> dataVectors) throws FilteringException Provide a filtered expression data matrix.- Parameters:
ee- the expression experiment.filterConfig- the configuration.dataVectors- data vectors- Returns:
- data matrix
- Throws:
FilteringException
-
getFilteredMatrix
ExpressionDataDoubleMatrix getFilteredMatrix(String arrayDesignName, FilterConfig filterConfig, Collection<ProcessedExpressionDataVector> dataVectors) throws FilteringException - Throws:
FilteringException
-
getProcessedExpressionDataMatrix
Obtain the processed expression data matrix for a given experiment. -
getProcessedExpressionDataMatrix
ExpressionDataDoubleMatrix getProcessedExpressionDataMatrix(ExpressionExperiment ee, boolean thawAssays) - 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
ExpressionDataDoubleMatrix getProcessedExpressionDataMatrix(ExpressionExperiment ee, List<BioAssay> samples) -
getRawExpressionDataMatrix
ExpressionDataDoubleMatrix getRawExpressionDataMatrix(ExpressionExperiment ee, QuantitationType quantitationType) Obtain a raw expression data matrix for a given quantitation type- Throws:
IllegalStateException- if there are no raw vectors for the given quantitation type
-
getRawExpressionDataMatrix
ExpressionDataDoubleMatrix getRawExpressionDataMatrix(ExpressionExperiment ee, List<BioAssay> samples, QuantitationType quantitationType) -
getRankMatrix
DoubleMatrix<Gene, ExpressionExperiment> getRankMatrix(Collection<Gene> genes, Collection<ExpressionExperiment> ees, ProcessedExpressionDataVectorDao.RankMethod method)
-