Description Usage Arguments Details Value Author(s) See Also
Remove batch effects from expression data.
1 |
x |
numeric matrix, or any object that can be coerced to a matrix by |
batch |
factor or vector indicating batches. |
batch2 |
factor or vector indicating batches. |
covariates |
matrix or vector of covariates to be adjusted for. |
design |
optional design matrix relating to treatment conditions to be preserved |
This function is useful for removing batch effects, associated with hybridization time or other technical variables, prior to clustering or unsupervised analysis such as PCA, MDS or heatmaps. It is not intended to use with linear modelling. For linear modelling, it is better to include the batch factors in the linear model.
The design matrix is used to describe comparisons between the samples, for example treatment effects, which should not be removed.
The function (in effect) fits a linear model to the data, including both batches and regular treatments, then removes the component due to the batch effects.
A numeric matrix of log-expression values with batch and covariate effects removed.
Gordon Smyth and Carolyn de Graaf
05.Normalization
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.