rankZ | R Documentation |
This is also called the inverse normal transformation. We rank the data in x, divide by n-1, and take quantiles from the normal distribution using qnorm.
rankZ(x)
x |
Numeric vector of values to be transformed. |
We often use this when there are hundreds or thousands of phenotypes. This allows us to calculate permutation derived thresholds once and use them for all phenotypes.
Numeric vector with a normal distribution.
Daniel Gatti
rankZ(rlnorm(20))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.