sampleGRL: Function to sample regions from a GRangesList object, in...

Description Usage Arguments Value

View source: R/utility.R

Description

Function to sample regions from a GRangesList object, in specified proportion

Usage

1
sampleGRL(GRL, prop)

Arguments

GRL

GRangesList from which to sample

prop

vector with same length as GRL, of values between 0-1, proportion of the list to select

Value

A sampled subset of original GRangesList object.


nsheff/LOLA documentation built on Sept. 8, 2020, 11:50 a.m.