saveGSEAplot | R Documentation |
Save GSEA plot with optimal dimensions
saveGSEAplot(
plot_obj,
filename,
width = 12,
height = 8,
dpi = 300,
device = NULL
)
plot_obj |
ggplot object from plotGSEA |
filename |
output filename |
width |
plot width in inches |
height |
plot height in inches |
dpi |
resolution in dots per inch |
device |
output device (auto-detected from filename if NULL) |
Kai Guo
## Not run:
p <- plotGSEA(object = hsako, gseaRes = res)
saveGSEAplot(p, "gsea_plot.pdf")
saveGSEAplot(p, "gsea_plot.png", dpi = 600)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.