collapseBins: Collapse consecutive bins with the same ID value

Description Usage Arguments Value

View source: R/utils.R

Description

Collapse consecutive bins with the same value defined in 'id.field'.

Usage

1
collapseBins(gr, id.field = 3)

Arguments

gr

A GRanges-class object.

id.field

A number of metadata column to use for region merging.

Value

A GRanges-class object.


breakpointR documentation built on Nov. 8, 2020, 8:04 p.m.