Learn R Programming

IntervalSurgeon (version 1.3)

Operating on Integer-Bounded Intervals

Description

Manipulate integer-bounded intervals including finding overlaps, piling and merging.

Copy Link

Version

Install

install.packages('IntervalSurgeon')

Monthly Downloads

291

Version

1.3

License

GPL (>= 2)

Maintainer

Daniel Greene

Last Published

February 20th, 2024

Functions in IntervalSurgeon (1.3)

intersected

Determine whether each interval in a given set are intersected/covered by intervals in another set
detached_sorted_nonempty

Check intervals are detached, sorted and non-empty.
flatten

Flatten a set of intervals
proportion_overlap

Calculate proportion overlapping of intersecting intervals
depth

Depth of piled intervals
breaks

Get break points for set of intervals
stitch

Stich together touching intervals and remove empty intervals
sections

Get the sections from a set of interval breaks
annotate

Annotate one set of intervals with the names of those which intersect with the other
IntervalSurgeon-package

tools:::Rd_package_title("IntervalSurgeon")
pile

Get IDs of intervals covering each sub-interval
join

Get all overlapping tuples of intervals from multiple sets
overlaps

Compute overlaps of two sets of detached and sorted intervals