subtractCoefs | R Documentation |
limma::removeBatchEffect()
Instead of accepting the batch effects and covariates separately, this function accepts a single design matrix, and an index of which columns of that design matrix represent batch effects.
subtractCoefs(x, design, coefsToSubtract, ...)
x |
This has the same meaning as in
|
design |
The full design matrix, including both covariates (whose effects are to be kept) and batch effects (whose effects are to be subtracted out). |
coefsToSubtract |
An index vector indicating which columns of
|
... |
Additional arguments are passed to
|
See limma::removeBatchEffect()
.
#TODO: Copy from removeBatchEffect
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.