View source: R/save_pheatmap.R
save_pheatmap | R Documentation |
save pheatmap in pdf or png
save_pheatmap(x, filename, width = 480, height = 960)
x |
heatmap name |
filename |
directory and name with extension (pdf or png) |
width, height |
the width and height of the graphics region in inches |
## Not run: HM <- pheatmap(iris[,-5]) save_pheatmap(HM, "path/Heatmap.png") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.