tool.unify {Mergeomics} | R Documentation |
tool.unify
converts a distribution to uniform ranks with respect
to a background distribution (or self if no background available).
tool.unify(xtrait, xnull = NULL)
xtrait |
the distribution that will be standardized, i.e. uniformly distributed |
xnull |
background distribution to be used to distribute
|
y |
uniformly distributed form of |
Ville-Petteri Makinen
x <- rnorm(10) y <- tool.unify(x) ## uniformly distributed form of x when null dist is x z <- tool.unify(x, y) ## uniformly distributed form of x when null dist is y