perm.rank.test {epiNEM} | R Documentation

## AUC permutation test

### Description

computes the area under the rank enrichment score curve and does a permutation test to compute the p-value

### Usage

    perm.rank.test(
      x,
      y = NULL,
      alternative = c("two.sided", "less", "greater"),
      iter = 1000
    )

### Arguments

`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

### Value

p-value

### Author(s)

Martin Pirkl

### Examples

    x <- 1:10
    y <- 1:100
    perm.rank.test(x,y,alternative='less')
    perm.rank.test(x,y,alternative='greater')

[Package epiNEM version 1.16.0 Index]