Skip to content
Prev 8218 / 21312 Next

[Bioc-devel] VariantAnnotation::VRanges() & defunct ifelse method for Rle objects in devel IRanges

Ok, thanks. That's what R (in my working copy) basically does now. Since
internal sub-assignment is vector-based, it just calls as.vector(). That
vector may be subsequently "promoted" given the type of "x" and "value"
(like integer to real, real to character, etc). So it could be optimized,
but it was a simple change and base::ifelse() works on Rle. We should keep
the ifelse generic, with a signature on "test", so that we can dispatch on
LogicalList.

Michael
On Wed, Oct 21, 2015 at 6:38 PM, Herv? Pag?s <hpages at fredhutch.org> wrote: