gr.collapse: Collapse adjacent ranges

Description Usage Arguments Value Author(s)

View source: R/gUtils.R

Description

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

Usage

1
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 Sept. 1, 2018, 8:21 p.m.