XRanges-class {IRanges}R Documentation

External Ranges

Description

The XRanges class is meant to be the virtual parent for all Ranges derivatives that exist externally from R, such as search trees, databases, etc. It is the external analog of the internal IRanges.

Details

The primary requirement for a XRanges implementation is that it is coercible to IRanges, so that the data may be imported into R. Several of the most important accessors (start, end, width) and utilities (reduce, gaps) have default implementations for XRanges instances that simply coerce the XRanges to an IRanges and delegate. Subclasses are responsible for optimized implementations of those methods and should generally attempt to implement as much of the Ranges API as is feasible.

Author(s)

Michael Lawrence

See Also

The internal IRanges; IntervalTree for an implementation.


[Package IRanges version 1.0.16 Index]