Class BatchEffectDetails
java.lang.Object
ubic.gemma.core.analysis.preprocess.batcheffects.BatchEffectDetails
provide some basic information about the properties and strength of a batch effect, if any.
- Author:
- Paul
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionBatchEffectDetails(BatchInformationEvent infoEvent, boolean dataWasBatchCorrected, boolean singleBatch) -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicate if batch correction was performed on the expression data.Obtain an object describing the batch effect if available.booleanIndicate if the batch information is present.booleanIndicate if the batch information is present, but problematic.booleanIndicate if the dataset has one or more singleton batches (i.e.booleanIndicate if the batch information is present, but uninformative.booleanIndicate 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.toString()
-
Constructor Details
-
BatchEffectDetails
public BatchEffectDetails(@Nullable BatchInformationEvent infoEvent, boolean dataWasBatchCorrected, boolean singleBatch)
-
-
Method Details
-
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
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
-
toString
-