gintervals.neighbors1: Finds neighbors between two sets of intervals (and does not...

View source: R/gutils.R

gintervals.neighbors1R Documentation

Finds neighbors between two sets of intervals (and does not return conflicting column names)

Description

Finds neighbors between two sets of intervals (and does not return conflicting column names)

Usage

gintervals.neighbors1(
  intervals1 = NULL,
  intervals2 = NULL,
  maxneighbors = 1,
  mindist = -1e+09,
  maxdist = 1e+09,
  na.if.notfound = TRUE
)

Arguments

intervals1

intervals

intervals2

intervals

maxneighbors

maximal number of neighbors

mindist

distance range for 1D intervals

maxdist

distance range for 1D intervals

na.if.notfound

if 'TRUE' return 'NA' interval if no matching neighbors were found, otherwise omit the interval in the answer

See Also

gintrevals.neighbors


tanaylab/gpatterns documentation built on May 15, 2023, 6:23 p.m.