groupOverlaps {xcms} | R Documentation |
groupOverlaps
identifies overlapping ranges in the input data and groups
them by returning their indices in xmin
xmax
.
groupOverlaps(xmin, xmax)
xmin |
|
xmax |
|
list
with the indices of grouped elements.
Johannes Rainer
x <- c(2, 12, 34.2, 12.4) y <- c(3, 16, 35, 36) groupOverlaps(x, y)