View source: R/save_pheatmap.R
save_pheatmap_png | R Documentation |
Save the pheatmap object as a png file
save_pheatmap_png(
plot = NULL,
filename = NULL,
path = NULL,
width = 1200,
height = 1000,
res = 150
)
plot |
pheatmap oject |
filename |
file name or file path name to write the pheatmap object |
path |
Path of the directory to save plot |
width |
Width of plot |
height |
Height of plot |
res |
Resolution of plot |
No return object
## Not run:
ph <- pheatmap(log2_mean_differential_genes
save_pheatmap_png(ph, "heatmap.png")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.