perm.rank.test | R Documentation |
computes the area under the rank enrichment score curve and does a permutation test to compute the p-value
perm.rank.test(
x,
y = NULL,
alternative = c("two.sided", "less", "greater"),
iter = 1000
)
x |
numeric vector of ranks |
y |
numeric vector of the superset of x |
alternative |
character for test type: 'less','greater','two.sided' |
iter |
integer number of iterations |
p-value
Martin Pirkl
x <- 1:10
y <- 1:100
perm.rank.test(x,y,alternative='less')
perm.rank.test(x,y,alternative='greater')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.