Linear regression to adjust for batch effects.
1 2 3 4 | lmAdjCovar(x, covar, add.mean = TRUE)
## S4 method for signature 'matrix,data.frame,logical'
lmAdjCovar(x, covar, add.mean = TRUE)
|
x |
A matrix of gene expression data with genes in the rows and samples in the cols. |
covar |
A data.frame covariates. |
add.mean |
A logical vector indicating whether to add group mean to the residuals |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.