Learn R Programming

rIntervalTree (version 0.1.0)

An Interval Tree Tool for Real Numbers

Description

This tool can be used to build binary interval trees using real number inputs. The tree supports queries of intervals overlapping a single number or an interval (start, end). Intervals with same bounds but different names are treated as distinct intervals. Insertion of intervals is also allowed. Deletion of intervals is not implemented at this point. See Mark de Berg, Otfried Cheong, Marc van Kreveld, Mark Overmars (2008). Computational Geometry: Algorithms and Applications, for a reference.

Copy Link

Version

Install

install.packages('rIntervalTree')

Monthly Downloads

157

Version

0.1.0

License

GPL-2

Maintainer

Shuye Pu

Last Published

April 23rd, 2019

Functions in rIntervalTree (0.1.0)

overlapQuery

overlapQuery
buildTree

buildTree
treeFromInterval

treeFromInterval
intersectInterval

intersectInterval
compounds

Compounds with mass ranges
isOverlap

isOverlap
Interval-class

Interval
buildTree,IntervalTree-method

buildTree
insert

insert
insertInterval,IntervalTree,character-method

insertInterval
insertInterval

insertInterval
collectIntervals

collectIntervals
overlapQuery,IntervalTree,numeric-method

overlapQuery
IntervalTree-class

IntervalTree
isOverlap,Interval,numeric-method

isOverlap