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,
Chris