.getRunsAndTotals | R Documentation |
This takes a GRanges object for binneed data and a column name designating where to find the relevant data in the mcols and returns a GRanges giving the consecutive runs of constant sign and their run totals. It is not exported.
.getRunsAndTotals(gr, colName)
gr |
a GRanges object whose mcols gives the relevant binned data |
colName |
This designates the column in mcols with the relevant data |
a GRanges object giving the contiguous regions and their respective sums.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.