Description Usage Arguments Value
The function is applied to the training set and returns a BaraFit object that can be used to adjust batch effects in subsequently acquired test sets.
1 2 |
x |
Matrix, the training data set with samples in rows. |
ref |
Numeric vector, index of the reference samples. |
ndim |
Integer, describes the number of SVD dimensions to retain. If NULL, the all possible dimensions are calculated. |
loss |
Numeric between 0 and 1. Describes the maximum amount of variance that can be lost during compression. |
scale_var |
Logical, should the variance be scaled? Default is FALSE. |
verbose |
Logical, should runtime messages be printed? Default is TRUE. |
An object of class BaraFit.
Compressed and reconstructed training data set. Can be used to define subsequent prediction model.
Index of reference samples.
Mean values of the columns of the input matrix x.
Standard deviations of the columns of the input matrix x.
Right singular vectors of the input matrix x.
Mean values of the reference samples in the compressed data space.
Function call.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.