quantileNormalization | R Documentation |
Distribution to be normalized are represented as columns or rows of a matrix/data frame. Each value is replaced by the quantile of the reference distribution as given by the value of the empirical distribution function of the given value.
quantileNormalization( reference, data, direction = 2, impute = TRUE, ties = "random", center = TRUE, referenceDirection = direction )
reference |
numeric vector with realizations from the target distribution |
data |
data frame or matrix with data to be normalized |
direction |
is |
d = sapply(1:20, rnorm(1e4)); dNorm = quantileNormalization(as.vector(d), d)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.