Description Usage Arguments Value Examples
This function takes a given GRanges and returns another GRanges object. The new GRanges has the same number of ranges and the same chromosome, width and strand distributions than the original GRanges.
1 2 3 4 5 6 7 8 |
x |
GRanges object |
n |
Integer, number of sampled GRanges |
width |
Integer, width of sampled GRanges |
exclude |
Boolean, should the original GRanges be excluded? |
avoid_overlap |
Boolean, should the sampled GRanges not be overlapping? |
A GRanges object of length n
1 2 | data(ce11_proms)
sampleGRanges(ce11_proms, 100)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.