gintervals.filter.Rd
Filter intervals set by distance to another. A wrapper around gintervals.neighbours and filter(dist <= max_distance)
gintervals.filter(
intervals1,
intervals2,
max_distance = 0,
abs_dist = TRUE,
bind_intervals2 = FALSE,
...
)
intervals set
intervals set by which to filter intervals1
maximal distance of every interval in intervals1 from intervals2 (defualt 0)
take the absolute distance
cbind add intervals2 to result
additional parameters to gintervals.neighbours1