gintervals.2d.band_intersect: Intersects two-dimensional intervals with a band

View source: R/intervals.R

gintervals.2d.band_intersectR Documentation

Intersects two-dimensional intervals with a band

Description

Intersects two-dimensional intervals with a band.

Usage

gintervals.2d.band_intersect(
  intervals = NULL,
  band = NULL,
  intervals.set.out = NULL
)

Arguments

intervals

two-dimensional intervals

band

track expression band. If 'NULL' no band is used.

intervals.set.out

intervals set name where the function result is optionally outputted

Details

This function intersects each two-dimensional interval from 'intervals' with 'band'. If the intersection is not empty, the interval is shrunk to the minimal rectangle that contains the band and added to the return value.

If 'intervals.set.out' is not 'NULL' the result is saved as an intervals set. Use this parameter if the result size exceeds the limits of the physical memory.

Value

If 'intervals.set.out' is 'NULL' a data frame representing the intervals.

See Also

gintervals.2d, gintervals.intersect

Examples



gdb.init_examples()
gintervals.2d.band_intersect(gintervals.2d(1), c(10000, 20000))


misha documentation built on Sept. 14, 2023, 5:08 p.m.