Save ggplot in pdf Use dev.copy2pdf(fil …


http://olhg45.fr/?kaption=rencontre-47400&973=73 Save ggplot in pdf
Use dev.copy2pdf(file=”plot.pdf”)

http://gruvnbrass.com/?formirovka=montgeron-rencontre-mature&631=39 Example)
plotA <- ggplot() + geom_line(data=nucleosome.mono.colsum, aes(seq, y=A, colour="A") ) plotT <- ggplot() + geom_line(data=nucleosome.mono.colsum, aes(seq, y=T, colour="T") ) arranged.plot <- grid.arrange(plotA, plotT, nrow=2) dev.copy2pdf(file="arranged.plot") dev.off()


Leave a Reply

Your email address will not be published. Required fields are marked *