getRunTotals: Get the runs and their values

Description Usage Arguments Value Examples

View source: R/deltaCaptureC.R

Description

This function finds the runs of consecutive ranges in which the sign of the data does not change. It returns a GRanges object containing the contiguous ranges and the weighted sum of data in each.

Usage

1
getRunTotals(se, innerRegion, colName = "delta")

Arguments

se

a SummarizedExperiment whose first assay has a column named colName. Typically this will be a one-column matrix with delta.

innerRegion

a Granges object defining the region surrounding the viewpoint to be excluded from run total calculations

colName

defaults to 'delta'

Value

a GRanges object giving the contiguous regions and their respective sums

Examples

1

deltaCaptureC documentation built on Nov. 8, 2020, 5:31 p.m.