| 1 |
\name{interval_intersection} |
| 2 |
|
| 3 |
\alias{interval_intersection} |
| 4 |
\alias{interval_intersection,Intervals_virtual-method} |
| 5 |
\alias{interval_intersection,missing-method} |
| 6 |
|
| 7 |
\title{Compute the intersection of one or more sets of intervals} |
| 8 |
|
| 9 |
\description{ |
| 10 |
Given one or more sets of intervals, produce a new set compactly |
| 11 |
representing points contained in at least one interval of each input |
| 12 |
object. |
| 13 |
} |
| 14 |
|
| 15 |
\usage{ |
| 16 |
\S4method{interval_intersection}{Intervals_virtual}(x, ..., check_valid = TRUE) |
| 17 |
|
| 18 |
\S4method{interval_intersection}{missing}(x, ..., check_valid = TRUE) |
| 19 |
} |
| 20 |
|
| 21 |
\arguments{ |
| 22 |
|
| 23 |
\item{x}{ An \code{"Intervals"} or \code{"Intervals_full"} object.} |
| 24 |
|
| 25 |
\item{\dots}{Additional objects of the same classes permitted for \code{x}.} |
| 26 |
|
| 27 |
\item{check_valid}{ |
| 28 |
Should \code{\link{validObject}} be called before passing to |
| 29 |
compiled code? Also see \code{\link{interval_overlap}}. |
| 30 |
} |
| 31 |
|
| 32 |
} |
| 33 |
|
| 34 |
\value{ |
| 35 |
A single object representing points contained in each of the objects |
| 36 |
supplied in the \code{x} and \code{...} arguments. |
| 37 |
} |
| 38 |
|
| 39 |
\seealso{ |
| 40 |
See \code{\link{interval_union}} and |
| 41 |
\code{\link{interval_complement}}, which are used to produce the |
| 42 |
results. |
| 43 |
} |