heat_plot: A swap function of pheatmap

View source: R/heat_plot.R

heat_plotR Documentation

A swap function of pheatmap

Description

A swap function of pheatmap

Usage

heat_plot(
  mat,
  cluster_cols = T,
  cluster_rows = T,
  display_numbers = FALSE,
  color = c("#3c9eff", "gray99", "#ff445d"),
  treeheight_row = 20,
  treeheight_col = 20,
  cellwidth = NA,
  cellheight = NA,
  cutree_rows = 2,
  cutree_cols = 2,
  fontsize = 6,
  fontsize_number = 9,
  fontsize_row = 11,
  fontsize_col = 11,
  angle_col = 45,
  ...
)

Arguments

mat

numeric matrix of the values to be plotted.

cluster_cols

boolean values determining if columns should be clustered or hclust object.

cluster_rows

boolean values determining if rows should be clustered or hclust object,

display_numbers

logical determining if the numeric values are also printed to the cells. If this is a matrix (with same dimensions as original matrix), the contents of the matrix are shown instead of original values.

color

vector of colors used in heatmap.

treeheight_row

treeheight_row

treeheight_col

treeheight_col

cellwidth

cellwidth

cellheight

cellheight

cutree_rows

cutree_rows

cutree_cols

cutree_cols

fontsize

fontsize

fontsize_number

fontsize_number

fontsize_row

fontsize_row

fontsize_col

fontsize_col

angle_col

angle_col

...

other param

Author(s)

Zhonghui Gai


ZhonghuiGai/gfun documentation built on Feb. 10, 2023, 6:10 p.m.