save_pheatmap_png: Save pheatmap

View source: R/save_pheatmap.R

save_pheatmap_pngR Documentation

Save pheatmap

Description

Save the pheatmap object as a png file

Usage

save_pheatmap_png(
  plot = NULL,
  filename = NULL,
  path = NULL,
  width = 1200,
  height = 1000,
  res = 150
)

Arguments

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

Value

No return object

Examples

## Not run: 

ph <- pheatmap(log2_mean_differential_genes

save_pheatmap_png(ph, "heatmap.png")

## End(Not run)


GrahamHamilton/pipelineTools documentation built on March 5, 2024, 12:23 p.m.