View source: R/enrichmentTSS.R
binRegions | R Documentation |
Bin a set of GRanges regions
binRegions(regions, scope = 2000, bin = 10)
regions |
GRanges object containing the regions to bin. It assumes that the first mcol contained the unique identifier of the region. |
scope |
Integer indicating how many base pairs upstream and downstream to extend the promoter region. Returned window width will be scope*2. Default: 2Kb. |
bin |
Integer indicating the size of the bins. Default: 10 bp. |
Binned GRanges object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.