collapseBins: Collapse consecutive bins with the same ID value

View source: R/utils.R

collapseBinsR Documentation

Collapse consecutive bins with the same ID value

Description

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

Usage

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.


daewoooo/breakpointR documentation built on April 20, 2023, 4:13 p.m.