One easy way to get something like this: rangesList <- seqapply(as(gr, "RangesList"), IntervalTree)
Then you'll have a RangesList of IntervalTree objects for range queries. Might need latest IRanges svn for this to work reliably (problem with subsetting IRanges with metadata). On Thu, Sep 30, 2010 at 6:48 PM, Kasper Daniel Hansen < [email protected]> wrote: > I would like to see 'IntervalTrees for GRanges'. Specifically, if I > am repeatedly doing findOverlaps lookups on a big GRanges, I want to > be able to store the IntervalTrees that (right now?) gets computed > each time. > > This may of course already exist, in which case I would be satisfied > with a pointer :) > > Thanks, > Kasper > > _______________________________________________ > Bioc-sig-sequencing mailing list > [email protected] > https://stat.ethz.ch/mailman/listinfo/bioc-sig-sequencing > [[alternative HTML version deleted]] _______________________________________________ Bioc-sig-sequencing mailing list [email protected] https://stat.ethz.ch/mailman/listinfo/bioc-sig-sequencing
