recomputePermTest: Recompute Permutation Test

View source: R/recomputePermTest.R

recomputePermTestR 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)



 

bernatgel/regioneR documentation built on Sept. 10, 2023, 12:03 a.m.