nqrank | R Documentation |
Transform a vector of quantitative values to the corresponding normal quantiles (preserving the mean and SD).
nqrank(x, jitter)
x |
A numeric vector |
jitter |
If TRUE, randomly jitter the values to break ties. |
A numeric vector; the input x
is converted to ranks and then to
normal quantiles.
Karl W Broman, broman@wisc.edu
rank
, qnorm
, transformPheno
data(hyper)
hyper <- transformPheno(hyper, pheno.col=1, transf=nqrank)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.