Description Usage Arguments Value
Refine a GRanges object to make sure that it is compatible with a
binning scheme of a given binsize. There is more than one way of doing it.
In the way it is done here, the start coordinates and the end coordinates
of the provided regions will become respectively the next number of the form
binsize*k + 1
and the previous number of the form binsize*k
,
so that the refined regions will always be contained in the original ones.
1 | refineRegions(regions, binsize)
|
regions |
GRanges object containing the genomic regions of interest. |
binsize |
The size of each bin in basepairs. |
A GRanges object with the refined regions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.