Description Usage Arguments Details Value Examples
Given a matrix with log expression values and a design matrix, this function fits a linear model and removes the effects of the batch factor as well as of the linear variables encoded in W.
1 |
log_expr |
matrix. The log gene expression (genes in row, samples in columns). |
design_mat |
matrix. The design matrix (usually the result of make_design). |
batch |
factor. A factor with the batch information, identifying batch effect to be removed. |
weights |
matrix. A matrix of weights. |
The function assumes that the columns of the design matrix corresponding to the variable for which expression needs to be adjusted, start with either the word "batch" or the letter "W" (case sensitive). Any other covariate (including the intercept) is kept.
The corrected log gene expression.
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.