View source: R/BatchEffect_Combat.R
BatchEffect_Combat | R Documentation |
Function to do a batch correction using combat on the beta set from the epigenetic set.
BatchEffect_Combat(x, batch, RiskFactors, M = FALSE, save = TRUE)
x |
Epigenetic set object. |
batch |
Non-biological factor for which the beta set needs to be corrected. |
RiskFactors |
Risk factors for which the Combat algorithm needs to correct |
M |
If TRUE, the combat will run using the M values instead of the beta values. |
save |
If TRUE, the new bset will be saved into the minfi_sets directory. |
Updated Epigenetic set object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.