[Bioc-devel] applying over GRanges and other vectors of ranges

Tim Triche, Jr. tim.triche at gmail.com
Mon Sep 24 16:16:36 CEST 2012

Did you see Malcolm Cook's post recently about fixing pvec() to automatically do this?

It seems like a sensible approach to me


On Sep 24, 2012, at 6:53 AM, Michael Lawrence <lawrence.michael at gene.com> wrote:

> Florian's post about mclapply got me thinking about how it is kind of a
> pain to iterate over GRanges objects (since they are not Lists, there is no
> lapply). Could we instead have an apply function for vectors that subsets,
> i.e., uses [, instead of [[? Maybe sblapply for single bracket? I was also
> thinking it would be nice to have an apply function for Seqinfo objects
> that would apply over the subranges of all of the sequences, where the size
> of the subregion is specified by the user. Maybe call it glapply, where 'g'
> is for 'genome'?
> Michael
>    [[alternative HTML version deleted]]
> _______________________________________________
> Bioc-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/bioc-devel

More information about the Bioc-devel mailing list