Skip to content
Prev 9648 / 21312 Next

[Bioc-devel] Fast check of GenomicRanges equality to speed up cbind, SummarizedExperiment

Hi Pete,

Thanks for suggesting this fast method. I've formalized this a little
bit by using a generic (identicalVals) + methods. I also tweaked it
in order to avoid false negatives that can occur when 'x' and 'y' have
different names or different seqlevels. So no more fallback to
'all(x == y)'.

Committed in SummarizedExperiment 1.3.82.

BTW please note that 'x == y' and 'identicalVals(x, y)' both ignore
circularity of the underlying sequences e.g. ranges [1, 10] and
[101, 110] represent the same position on a circular sequence of
length 100 so should be considered equal. However for 'x == y' and
'identicalVals(x, y)', they are not. Something we should address at
some point...

Cheers,
H.
On 08/30/2016 05:57 AM, Peter Hickey wrote:

  
    
Message-ID: <8b979ab9-d609-d617-656c-44d57729a546@fredhutch.org>
In-Reply-To: <31563_1472563949_57C58AED_31563_19218_2_CAB6GOe7LR398hi6YmAF0kHZmuPez6_fUS+k4xaOiOznyjqogBA@mail.gmail.com>