View source: R/plot_helper_functions.R
multiplot | R Documentation |
ggplot objects can be passed in ..., or to plotlist (as a list of ggplot objects). If the layout is something like matrix(c(1,2,3,3), nrow = 2, byrow = TRUE), then plot 1 will go in the upper left, 2 will go in the upper right, and 3 will go all the way across the bottom. Helper function of plotClusterHeatmap and plotClusters.
multiplot(..., plotlist = NULL, file, cols = 1, layout = NULL)
... |
ggplot object; the plots. |
plotlist |
list; the plots. |
file |
character; filename where the plots will be saved. |
cols |
numeric; number of columns in the generated figure. |
layout |
matrix; A matrix specifying the layout. If present, 'cols' is ignored. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.