gr.collapse: Collapse adjacent ranges

gr.collapseR Documentation

Collapse adjacent ranges

Description

Like GenomicRanges::reduce except only collapses <<adjacent>> ranges in the input

Usage

gr.collapse(gr, pad = 1)

Arguments

gr

GRanges to collapse

pad

Padding that allows for not quite adjacent elements to be considered overlapping. (default = 1)

Value

GRanges with collapsed adjacent GRanges

Author(s)

Marcin Imielinski


mskilab/gUtils documentation built on June 6, 2023, 12:08 a.m.