getRandomPairs: Sample randomly pairs from set of genes with equal...

Description Usage Arguments Value

View source: R/randomization.R

Description

Sample randomly pairs from set of genes with equal probabilities

Usage

1
getRandomPairs(genesGR, n)

Arguments

genesGR

a GRanges with genes.

n

number of pairs to sample.

Value

A data.frame with indexes of ranges in genesGR in the frist two columns.


ibn-salem/genepair documentation built on May 18, 2019, 1:30 a.m.