Description Usage Arguments Value Author(s) See Also Examples
Batch effects are removed using the means of the batches.
1 | mean_centering(Y, b)
|
Y |
A matrix with n rows and g columns, where n is the number of objects and g is the number of variables. In the case of gene expression data, columns correspond to genes (probe sets) and rows to samples. |
b |
A vector of class factor with the element in position i (i=1,…,n) representing the batch from which observation i belongs to. |
A matrix of adjusted data with n rows and g columns.
Marco Giordan
ber
, ber_bg
, combat_np
, combat_p
, standardization
1 2 3 |
Loading required package: MASS
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.