Description Usage Arguments Details Value Author(s) References Examples
Batch effect is corrected by subtracting its effect only in the affected dimensions or PCs. Both the corrected and uncorrected dimensions are then used to predict the data.
1 | correctBatch(res11, designX, Ys, batchCL, grps, conF, nt, cGsub, comres)
|
res11 |
Results of fitting the PPCCA model. |
designX |
Design matrix for the covariates |
Ys |
Expression data |
batchCL |
A vector identifying batches. |
grps |
Number of batches |
conF |
A vector identifying biological classes. |
nt |
Number of biological classes |
cGsub |
Colors |
comres |
Results of ComBat correction |
Batch effect is corrected by subtracting its effect only in the affected dimensions or PCs. Both the corrected and uncorrected dimensions are then used to predict the data.
Results in correctBatch folder in the working directory.
Gift Nyamundanda and Anguraj Sadanandam
Nyamundanda, G. and Sadanandam, A., 2016. A novel and robust statistical method to diagnose and correct batch effects in large-scale genomic data.
1 2 3 | ##---- Should be DIRECTLY executable !! ----
##-- ==> Define data, use random,
##-- or do help(data=index) for the standard data sets.
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.