noba | R Documentation |
This function is merely included for consistency. It returns the raw dataset not adjusted for batch effects.
noba(x, batch)
x |
matrix. The covariate matrix. Observations in rows, variables in columns. |
batch |
factor. Batch variable. Each factor level (or 'category') corresponds to one of the batches. For example, if there are four batches, this variable would have four factor levels and observations with the same factor level would belong to the same batch. |
noba
returns an object of class noba
.
An object of class "noba
" is a list containing the following components:
xadj |
matrix of (training) data |
nbatches |
number of batches |
batch |
batch variable |
Roman Hornung
data(autism) Xadj <- noba(x=X, batch=batch)$adj all(as.vector(Xadj)==as.vector(X))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.