# \dontshow{
options(gmax.processes = 2)
# }
gdb.init_examples()
intervs1 <- giterator.intervals("dense_track",
gintervals(1, 0, 4000),
iterator = 233
)
intervs2 <- giterator.intervals(
"sparse_track",
gintervals(1, 0, 2000)
)
gintervals.neighbors(intervs1, intervs2, 10,
mindist = -300,
maxdist = 500
)
intervs2$strand <- c(1, 1, -1, 1)
gintervals.neighbors(intervs1, intervs2, 10,
mindist = -300,
maxdist = 500
)
Run the code above in your browser using DataLab