pile {IntervalSurgeon} | R Documentation |
Get IDs of intervals covering each sub-interval
Description
Get the intervals overlapping each section as a list.
Usage
pile(x, interval_names = rownames(x), output = "list")
Arguments
x |
Integer matrix of two columns, the first column giving the (inclusive) start points of intervals and the second column giving the corresponding (exclusive) end points. |
interval_names |
Character vector of names for each interval, not necessarily unique. If they are not unique, one might wish to |
output |
Character value either |
Value
See notes on output
parameter.
Examples
pile(cbind(1:10, 11:20))
[Package IntervalSurgeon version 1.3 Index]