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/skitools documentation built on Aug. 31, 2023, 1:13 p.m.