join | R Documentation |
Get matrix specifying overlapping tuples of intervals from multiple sets. Each row specifies an overlapping tuple. The n
th element in a row contains the row index of the interval in the n
th set of intervals passed to the function. Depending on the value of the output
argument, there may two additional columns giving the start and end coordinates of the overlap (the default: output="intervals"
, no extra columns (output="indices"
) or one additional column giving the row index of the 'section' of the complete set of intervals (output="sections"
, see sections
).
join(..., output = "intervals")
... |
Integer matrices of two columns, the first column giving the (inclusive) start points of intervals and the second column giving the corresponding (exclusive) end points. |
output |
Character value, one of |
Integer matrix.
join(rbind(c(1, 100), c(50, 100)), rbind(c(1, 2), c(49, 51), c(50, 200)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.