Description Usage Arguments Details Value
View source: R/NomalizeBetweenData.R
This function performs the normalization between training and testing set. We normalize the data so that the two sets have the same shape (or distribution).
1 | NormalizeBetweenData(x1, x2, norm.method = "quantile", plot = FALSE)
|
x1 |
a matrix of intensities, rows are genes and columns are samples |
x2 |
a matrix of intensities, rows are genes and columns are samples |
plot |
logical flag for plot the density distribution. Default is |
method |
character string specifying the |
This function uses a quantile normalization in order to make the distributions of training and testing set the same across samples. The normalization approach used in our package consist of adding by column each sample of the test set to the train set and normalize the new dataset. Then, we take the test column normalized and build the normalized testing set column by column. This improves the performance and stability of the models and make the two datasets comparable between them.
The following objects are returned:
x1.norm |
a normalized matrix |
x2.norm |
a normalized matrix |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.