| as_ranges {plyranges} | R Documentation |
Coerce an Rle or RleList object to Ranges
as_ranges(.data)
.data |
This function is behind compute_coverage().
an IRanges() object if the input is an
Rle() object or a GRanges() object for
an RleList() object.
S4Vectors::Rle(),IRanges::RleList()
x <- Rle(10:1, 1:10) as_ranges(x) y <- RleList(x) as_ranges(x)