interval_union | R Documentation |
Compute the union of intervals in one or more interval matrices. The
intervals contained in a single interval matrix object need not, in
general, be disjoint; interval_union
, however, always returns a
matrix with sorted, disjoint intervals.
## S4 method for signature 'Intervals_virtual'
interval_union(x, ..., check_valid = TRUE)
## S4 method for signature 'missing'
interval_union(x, ..., check_valid = TRUE)
x |
An |
... |
Optionally, additional objects which can be combined with
|
check_valid |
Should |
All supplied objects are combined using c
and then then passed to reduce
. The missing
method is only to permit use of do.call
with named list,
since no named element will typically match x
.
A single object of appropriate class, compactly representing the union
of all intervals in x
, and optionally, in ...
as
well. For class "Intervals"
, the result will have the same
closed
values as x
.
See reduce
, which is used to produce the results.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.