Thanks, makes sense. Didn't realize we could dispatch on the 'i' parameter.
I sort of recall the perception that we couldn't, and that was one of the
main motivations behind seqselect. But it does appear possible.

Michael


On Fri, Dec 13, 2013 at 1:10 PM, Hervé Pagès <hpa...@fhcrc.org> wrote:

> Hi Michael,
>
>
> On 12/13/2013 01:03 PM, Michael Lawrence wrote:
>
>> I used to use seqselect for subsetting ordinary R vectors by Ranges and
>> Rle. IRanges:::extractROWS does this, but it's hidden behind the
>> namespace.
>> What is the public way of doing this?
>>
>> Maybe we just need to export extractROWS()? Or something with a better
>> name?
>>
>
> I'll add [,vector,Ranges and [,vector,Rle methods (and probably also
> [,factor,Ranges and [,factor,Rle). They'll just be wrappers to
> IRanges:::extractROWS which I'd like to keep hidden.
>
> Was not sure people where doing this on ordinary R vectors so was
> waiting for someone to speak up.
>
> H.
>
>
>> Michael
>>
>>         [[alternative HTML version deleted]]
>>
>> _______________________________________________
>> Bioc-devel@r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/bioc-devel
>>
>>
> --
> Hervé Pagès
>
> Program in Computational Biology
> Division of Public Health Sciences
> Fred Hutchinson Cancer Research Center
> 1100 Fairview Ave. N, M1-B514
> P.O. Box 19024
> Seattle, WA 98109-1024
>
> E-mail: hpa...@fhcrc.org
> Phone:  (206) 667-5791
> Fax:    (206) 667-1319
>

        [[alternative HTML version deleted]]

_______________________________________________
Bioc-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/bioc-devel

Reply via email to