View source: R/batch-effect-correction.R
get_batch_matrix | R Documentation |
Get the batch matrix for fitting batch effect correction.
get_batch_matrix(batch = NULL, batch2 = NULL, covariates = NULL)
batch |
factor or vector indicating batches. |
batch2 |
factor or vector indicating a second series of batches. |
covariates |
matrix or vector of numeric covariates to be adjusted for. |
Inspired by removeBatchEffect
.
a matrix for batch.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.