[Bioc-devel] %outside% on GRanges

Oleksii Nikolaienko o|ek@||@n|ko|@|enko @end|ng |rom gm@||@com
Wed May 26 15:14:56 CEST 2021


Dear Bioc team,
%outside% operator from IRanges works as one would expect even if GRanges
objects are supplied as operands:


> a <- as("chr1:100-200", "GRanges")
> b <- as("chr2:150-250", "GRanges")
> IRanges::`%outside%`(a, b)
[1] TRUE

> IRanges::`%outside%`(ranges(a), ranges(b))
[1] FALSE

It is correct and intuitive, but %outside% does not seem to be defined or
included in help pages of the GenomicRanges library. Can I rely on such
behaviour of %outside% in the future?

Best,
Oleksii Nikolaienko

	[[alternative HTML version deleted]]



More information about the Bioc-devel mailing list