checkOverlap: Overlap of two time ranges

Description Usage Arguments Value Author(s) See Also Examples

View source: R/utils.R

Description

Overlap of two time ranges

Usage

1

Arguments

x

(numeric) must have only two values and x[2] > x[1].

y

(numeric) must have only two values and y[2] > y[1].

Value

(logical) TRUE: both time ranges overlap. FALSE: both time ranges do not overlap.

Author(s)

Shubham Gupta, shubh.gupta@mail.utoronto.ca

ORCID: 0000-0003-3500-8152

License: (c) Author (2020) + GPL-3 Date: 2020-07-17

See Also

getChildFeature

Examples

1
2
3
4
5
## Not run: 
checkOverlap(c(9.1, 13.1), c(2.1, 3.1))
checkOverlap(c(1.1, 3.1), c(3.2, 7.1))

## End(Not run)

Roestlab/DIAlign documentation built on Feb. 25, 2021, 5:18 p.m.