findOverlaps documentation mentions that G/IRanges is moving a Nested Containment List objects implementation with slightly changed behaviour. The documentation mentions that special meaning of maxgap in conjunction with start/end/within is not respected in the new algorithm. What is alarming to me is that there is no error or warning given for the new behavior. Shouldn't an error (or at least a warning) be raised given the nature of the change and the high likelihood of an unnoticed change analysis results?
Edit: additionally, different results are also returned for type="equal", which is not mentioned in the documentation of the change
FWIW, the new implementation of findOverlaps/countOverlaps now also supports
maxgap
's special meaning whentype
is set to"start"
or"end"
. So no more warning in that case. This change is in the release and devel versions of IRanges and GenomicRanges (IRanges 2.2.4 & 2.3.11, and GenomicRanges 1.20.5 & 1.21.15).H.