dot-getRunsAndTotals: A helper function for getRunTotals

.getRunsAndTotalsR Documentation

A helper function for getRunTotals

Description

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.

Usage

.getRunsAndTotals(gr, colName)

Arguments

gr

a GRanges object whose mcols gives the relevant binned data

colName

This designates the column in mcols with the relevant data

Value

a GRanges object giving the contiguous regions and their respective sums.


michaeldshapiro/deltaCaptureC documentation built on April 21, 2023, 8:18 a.m.