Interface PreprocessorService
- All Known Implementing Classes:
PreprocessorServiceImpl
public interface PreprocessorService
Encapsulates steps that are done to expression data sets after they are loaded and experimental design curated.
This can also be used to 'refresh' everything.
The following steps are performed:
- Deleting old analysis files and results, as these are invalidated by the subsequent steps.S
- Computing missing values (two-channel)
- Creation of "processed" vectors
- Batch-correction
- PCA
- Computing sample-wise correlation matrices for diagnostic plot
- Computing mean-variance data for diagnostic plots
- GEEQ scoring
- Redoing any DEA (if this is a 'refresh')
Propagation.NEVER
to prevent execution within another transaction.- Author:
- paul
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
Preprocess a dataset.default void
process
(ExpressionExperiment ee, boolean ignoreQuantitationMismatch) Preprocess a dataset.void
process
(ExpressionExperiment ee, boolean ignoreQuantitationMismatch, boolean ignoreDiagnosticFailure) Preprocess a dataset.void
Create or update the sample correlation, PCA and M-V data.
-
Method Details
-
process
Preprocess a dataset.Mismatched quantitation types are ignored by default, diagnostics failure will in a
PreprocessingException
.- Throws:
PreprocessingException
- See Also:
-
process
default void process(ExpressionExperiment ee, boolean ignoreQuantitationMismatch) throws PreprocessingException Preprocess a dataset.Diagnostic failure will result in a
PreprocessingException
.- Throws:
PreprocessingException
- See Also:
-
process
void process(ExpressionExperiment ee, boolean ignoreQuantitationMismatch, boolean ignoreDiagnosticFailure) throws PreprocessingException Preprocess a dataset.- Parameters:
ee
- the expression experiment to process, it must be fully thawed withExpressionExperimentService.thaw(ExpressionExperiment)
ignoreQuantitationMismatch
- ignore quantitation mismatch when generating processed EVsignoreDiagnosticFailure
- simply warn if a diagnostic fails instead of interrupting the pre-processing and raising an exception- Throws:
PreprocessingException
- if there was a problem during the processing
-
processDiagnostics
Create or update the sample correlation, PCA and M-V data.This is also done as part of
process(ExpressionExperiment, boolean, boolean)
so should only be called if only a refresh is needed.- Parameters:
ee
- the expression experiment to process, it must be fully thawed withExpressionExperimentService.thaw(ExpressionExperiment)
- Throws:
PreprocessingException
-