Function to sample regions from a GRangesList object, in specified proportion
sampleGRL(GRL, prop)
GRL | GRangesList from which to sample |
---|---|
prop | vector with same length as GRL, of values between 0-1, proportion of the list to select |
A sampled subset of original GRangesList object.