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(vr) ## breaks
The simple workaround would be to convert back to a 'GRanges' first by
hand. But shouldn't ggbio be able to handle these cases? Is this
related to the different defaults of strands between GRanges and VRanges?
Best wishes
Julian
_______________________________________________
Bioc-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/bioc-devel