generatePermutation: Generate permutation for permutation testing

View source: R/deltaCaptureC.R

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

michaeldshapiro/deltaCaptureC documentation built on April 21, 2023, 8:18 a.m.