View source: R/Seurat.Utils.Visualization.R
qqSaveGridA4 | R Documentation |
Saves a grid of 2 or 4 ggplot objects onto an A4 page.
qqSaveGridA4(
plotlist = pl,
plots = 1:2,
NrPlots = length(plots),
height = 11.69,
width = 8.27,
fname = "Fractions.Organoid-to-organoid variation.png",
...
)
plotlist |
A list of ggplot objects. Default: pl. |
plots |
A numeric vector indicating the indices of the plots to save from the 'plotlist'. Default: 1:2. |
NrPlots |
Number of plots to save. Default: length(plots). |
height |
Height for the saved image. Default: 11.69. |
width |
Width for the saved image. Default: 8.27. |
fname |
File name for the saved image. Default: "Fractions.Organoid-to-organoid variation.png". |
... |
Additional arguments passed to the plot_grid function. |
This function does not return a value. It saves a grid plot of ggplot objects to the specified file.
plot_grid
## Not run:
if (interactive()) {
qqSaveGridA4(plotlist = pl, plots = 1:2, fname = "Fractions.per.Cl.png")
qqSaveGridA4(plotlist = pl, plots = 1:4, fname = "Fractions.per.Cl.4.png")
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.