View source: R/normalization.R
| Normalization | R Documentation |
When data of different scales are combined it is recommended to normalise so that the structures are comparable.
Normalization(
Data,
method = c("Quantile", "Fisher-Yates", "Standardize", "Range", "Q", "q", "F", "f", "S",
"s", "R", "r")
)
Data |
A data matrix; rows are assumed to correspond to the objects. |
method |
One of |
"Quantile" performs quantile normalisation (common in omics);
"Fisher-Yates" uses normal scores based only on the number of rows;
"Standardize" centres and scales each column (base
scale); "Range" maps the matrix to [0, 1].
The normalised matrix.
x <- matrix(rnorm(100), 10, 10)
Norm_x <- Normalization(x, method = "R")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.