Re: [Bioc-devel] ggbio: Support of object inheriting from 'GRanges'

2014-02-03 Thread Tengfei Yin
Hi Julian, You are right, because autoplot() doesn't support VRanges object yet, it should not be a hard implementation, I will do this in devel branch this week. cheers Tengfei On Mon, Feb 3, 2014 at 11:54 AM, Julian Gehring wrote: > Hi, > > while ggbio work well for 'GRanges' objects, it is

[Bioc-devel] ggbio: Support of object inheriting from 'GRanges'

2014-02-03 Thread Julian Gehring
Hi, while ggbio work well for 'GRanges' objects, it is not able to deal with objects inheriting from a 'GRanges', e.g. a 'VRanges' object: library(ggbio) library(GenomicRanges) library(VariantAnnotation) gr = GRanges("1", IRanges(1, 10)) vr = as(gr, "VRanges") autoplot(gr) ## works autoplot(