collapseBins: Collapses consecutive set of ranges with the same value

View source: R/utils.R

collapseBinsR Documentation

Collapses consecutive set of ranges with the same value

Description

Collapses consecutive set of ranges with the same value

Usage

collapseBins(gr, id.field = 0, measure.field = NULL)

Arguments

gr

A GRanges object.

id.field

A field column used to collapse ranges with the same value.

measure.field

A field column that contains measured value to be sum up.

Author(s)

David Porubsky


daewoooo/primatR documentation built on March 28, 2024, 6:41 a.m.