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

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

Value

See also

gintrevals.neighbors