Question: plot multiple chromosomes from plot.type="c" to PDF files automatically in RStudio (RMD document)
gravatar for Stephane Plaisance | VIB |
10 weeks ago by

When issuing the DNAcopy command

  plot(segment, plot.type="c", xmaploc=TRUE)

I get in RStudio a kind of grey grid of plots of which I can click one to get the fill picture.

I would like instead to get all 24 plots as separate pictures at once and have knitr convert them at knit-time to full pictures in the rendered document.

Any idea how I could loop and show all 24 pictures one after the other in my knitr produced pdf?

Alternatively a multiplot of 6x4 images would be nice but I did not succeed to produce one with par(mar())



ADD COMMENTlink written 10 weeks ago by Stephane Plaisance | VIB |50
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: 286 users visited in the last hour