Skip to content
Prev 359834 / 398503 Next

Is that an efficient way to find the overlapped , upstream and downstream ranges for a bunch of ranges

The data.table package (in CRAN) and the iRanges package (in bioC) have formalized efficient approaches to those problems.
I suspect this would happen on a much faster basis for such a small dataset.