Learn R Programming

regioneR (version 1.4.0)

recomputePermTest: 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

Run this code
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)



 

Run the code above in your browser using DataLab