gr.breaks: gr.breaks

gr.breaksR Documentation

gr.breaks

Description

Break GRanges at given breakpoints into disjoint gr

Usage

gr.breaks(bps = NULL, query = NULL)

Arguments

bps

GRanges of width 1, locations of the bp; if any element width larger than 1, both boundary will be considered individual breakpoints

query

a disjoint GRanges object to be broken

Value

GRanges disjoint object at least the same length as query, with a metadata column qid indicating input index where new segment is from

Author(s)

Xiaotong Yao


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