.getRunsAndTotals {deltaCaptureC}R 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.


[Package deltaCaptureC version 1.7.1 Index]