recomputePermTest {regioneR} | R Documentation

## Recompute Permutation Test

### Description

Recomputes the permutation test changing the alternative hypotesis

### Usage

    recomputePermTest(ptr)

### Arguments

`ptr` | an object of class `permTestResults`

### Value

A list of class `permTestResults` containing the same components as `permTest` results.

### See Also

`permTest`

### Examples

    A <- createRandomRegions(nregions=10, length.mean=1000000)

    B <- createRandomRegions(nregions=10, length.mean=1000000)

    resPerm <- permTest(A=A, B=B, ntimes=5, alternative="less", genome="hg19", evaluate.function=meanDistance, randomize.function=randomizeRegions)

    plot(resPerm)

[Package regioneR version 1.18.1 Index]