[BioC] ggsave option for ggbio Tracks function

Mark Dunning mark.dunning at gmail.com
Thu Jan 10 15:22:27 CET 2013


Hi,

I was just wondering if there was an option to save a 'Tracks' object
to disk using a ggsave-like command?

> p<-  tracks(p.ideo, Gene = p1,Probes=p2,main=gene,heights=c(1,5,3))
> ggsave(p,file="tracks.png")
Error in ggsave(p, file = "tracks.png") : plot should be a ggplot2 plot

Regards,

Mark



More information about the Bioconductor mailing list