Class BatchEffectDetails


  • public class BatchEffectDetails
    extends Object
    provide some basic information about the properties and strength of a batch effect, if any.
    Author:
    Paul
    • Constructor Detail

    • Method Detail

      • hasBatchInformation

        public boolean hasBatchInformation()
        Indicate if the batch information is present.
      • hasProblematicBatchInformation

        public boolean hasProblematicBatchInformation()
        Indicate if the batch information is present, but problematic.
      • hasUninformativeBatchInformation

        public boolean hasUninformativeBatchInformation()
        Indicate if the batch information is present, but uninformative.
      • hasSingletonBatches

        public boolean hasSingletonBatches()
        Indicate if the dataset has one or more singleton batches (i.e. a batch with only one sample).
      • isSingleBatch

        public boolean isSingleBatch()
        Indicate if the experiment was determined to have just one batch, or false for any other state (including we don't know).
      • dataWasBatchCorrected

        public boolean dataWasBatchCorrected()
        Indicate if batch correction was performed on the expression data.
      • setBatchEffectStatistics

        public void setBatchEffectStatistics​(double pVal,
                                             int i,
                                             double variance)
        Set the batch effect statistics.
        Parameters:
        pVal - P-value
        i - component connfounded by the bat
        variance - variance explained by the component