save_pheatmap: save_pheatmap

View source: R/save_pheatmap.R

save_pheatmapR Documentation

save_pheatmap

Description

save pheatmap in pdf or png

Usage

save_pheatmap(x, filename, width = 480, height = 960)

Arguments

x

heatmap name

filename

directory and name with extension (pdf or png)

width, height

the width and height of the graphics region in inches

Examples


  ## Not run: 
  HM <- pheatmap(iris[,-5])
  save_pheatmap(HM, "path/Heatmap.png")
           
## End(Not run)


Damien-Dufour/sumo documentation built on March 18, 2023, 9:12 p.m.