Class BatchEffectDetails
- java.lang.Object
-
- ubic.gemma.core.analysis.preprocess.batcheffects.BatchEffectDetails
-
public class BatchEffectDetails extends Object
provide some basic information about the properties and strength of a batch effect, if any.- Author:
- Paul
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classBatchEffectDetails.BatchEffectStatistics
-
Constructor Summary
Constructors Constructor Description BatchEffectDetails(BatchInformationEvent infoEvent, boolean dataWasBatchCorrected, boolean singleBatch)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleandataWasBatchCorrected()Indicate if batch correction was performed on the expression data.BatchEffectDetails.BatchEffectStatisticsgetBatchEffectStatistics()Obtain an object describing the batch effect if available.booleanhasBatchInformation()Indicate if the batch information is present.booleanhasProblematicBatchInformation()Indicate if the batch information is present, but problematic.booleanhasSingletonBatches()Indicate if the dataset has one or more singleton batches (i.e.booleanhasUninformativeBatchInformation()Indicate if the batch information is present, but uninformative.booleanisSingleBatch()Indicate if the experiment was determined to have just one batch, or false for any other state (including we don't know).voidsetBatchEffectStatistics(double pVal, int i, double variance)Set the batch effect statistics.StringtoString()
-
-
-
Constructor Detail
-
BatchEffectDetails
public BatchEffectDetails(@Nullable BatchInformationEvent infoEvent, boolean dataWasBatchCorrected, boolean singleBatch)
-
-
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.
-
getBatchEffectStatistics
@Nullable public BatchEffectDetails.BatchEffectStatistics getBatchEffectStatistics()
Obtain an object describing the batch effect if available.
-
setBatchEffectStatistics
public void setBatchEffectStatistics(double pVal, int i, double variance)Set the batch effect statistics.- Parameters:
pVal- P-valuei- component connfounded by the batvariance- variance explained by the component
-
-