Description Usage Arguments Value
Adjusts a test set using the set of reference samples
1 | bara_adjust(bara_fit, x, ref, batch = NULL, verbose = TRUE)
|
bara_fit |
Object of class BaraFit, created using the training set. |
x |
Matrix, the test data set with samples in rows. |
ref |
Numeric vector, index of the reference samples in the test set. |
batch |
Character/Numeric/Factor. The vector should represent the batch belongings for the samples in the test set x. If a vector is supplied, each batch is independently adjusted. Therefore, each batch must contain at least 1 reference sample. |
verbose |
Logical, should runtime messages be printed? Default is TRUE. |
A matrix corresponding to the normalized test set.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.