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 May 8, 2024, 10:43 p.m.