Skip to content
Prev 8262 / 21312 Next

[Bioc-devel] is.unsorted method for GRanges objects

The notion of sortedness is already formally defined, which is why we have
an order method, etc.

The base is.unsorted implementation for "objects" ends up calling
base::.gt() for each adjacent pair of elements, which is likely too slow to
be practical, so we probably should add a custom method.

This does bring up the tangential question of whether GenomicRanges should
have an anyNA method that returns FALSE (and similarly an is.na() method),
although we have never defined the concept of a "missing range".

Michael
On Mon, Nov 2, 2015 at 4:55 PM, Gabe Becker <becker.gabe at gene.com> wrote: