Question: Gviz plot combined with multiple ggplot2 plots
gravatar for christian.aichmueller
15 months ago by
christian.aichmueller10 wrote:

Dear fellow R-enthusiasts,

I am struggling with the following problem:

I have a Gviz plot and two ggplot2-plots. It is no problem to store the ggplot2-plots into an objects, like "my_plot <- ggplot(data = x) + geom..." and call it later, but to do the same with my Gviz plot, saying "gviz_plot <- plotTracks(list(itrack, gtrack, hltrack))", does not work. My goal is to plot all three plots at the same time using the R-function "layout(matrix(c(1,1,2,3), 2,2, by.row = TRUE))" and save them as PDF. Whenever I plot, the Gviz plot appears on a separate page.

How can I change this behaviour?

Thanks  and best wishes,


ADD COMMENTlink written 15 months ago by christian.aichmueller10
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.2.0
Traffic: 236 users visited in the last hour