generatePermutation {deltaCaptureC}R Documentation

Generate permutation for permutation testing

Description

This function takes a set of row ranges and an inner region and generates a permutation which is symmetric on the inner region and arbitrary on the remainder

Usage

generatePermutation(gr, innerRegion)

Arguments

gr

a GRanges object which should be ordered

innerRegion

a GRanges object which should be a single interval

Value

a permutation of 1:length(gr)

Examples

permutations = generatePermutation(smallBins,viewpointRegion)

[Package deltaCaptureC version 1.0.0 Index]