plot multiple chromosomes from plot.type="c" to PDF files automatically in RStudio (RMD document)
0
0
Entering edit mode
@stephane-plaisance-vib-6362
Last seen 5.3 years ago

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())

Thanks

 

dnacopy • 920 views

Login before adding your answer.

Traffic: 578 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6