Description Usage Arguments Value Author(s)
Applies the ComBat batch correction algorithm without having to manually create the input files. Function by Levi Waldron.
1 2 | ComBatWrapper(expr.uncorrected, batchvar, combat.source = "http://www.bu.edu/jlab/wp-assets/ComBat/Download_files/ComBat.R",
cleanup = TRUE, ...)
|
expr.uncorrected |
A matrix of uncorrected expression values, with samples in columns and features in rows |
batchvar |
A character string of length equal to the number of columns in expr.uncorrected, defining the batches |
combat.source |
A location where the ComBat.R script can be found |
cleanup |
If TRUE, clean up intermediate files when done |
... |
... are extra arguments passed to the ComBat function |
a matrix of batch-corrected values, of the same dimensions as the input expr.uncorrected. Note that this script also makes a plot, unless prior.plots=FALSE is passed in the ...
Levi Waldron and Markus Riester
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.