Interface ExpressionExperimentBatchCorrectionService

    • Method Detail

      • checkCorrectability

        boolean checkCorrectability​(ExpressionExperiment ee)
        Is there a Batch factor provided? Is there a confound problem? Do we have at least two samples per batch? This will return true even if there is evidence the data has been batch-corrected before; we assume the caller wants to redo it based on the raw data
        Parameters:
        ee - the experiment
        Returns:
        whether it is correctable
      • getBatchFactor

        @Nullable
        ExperimentalFactor getBatchFactor​(ExpressionExperiment ee)
        For convenience of some testing classes
        Parameters:
        ee - the experiment to get the batch factor for
        Returns:
        the batch factor of the experiment, or null, if experiment has no batch factor