heat_dend: Heatmap with dendrogram on both sides

View source: R/mt_extra_1.R

heat_dendR Documentation

Heatmap with dendrogram on both sides

Description

Plot heatmap with dendrogram on both sides using lattice

Usage

heat_dend(
  mat,
  x.rot = 60,
  col = c("red", "white", "blue"),
  cex = 0.5,
  xlab = "",
  ylab = "",
  main = "",
  ...
)

Arguments

mat

a data matrix for plotting.

x.rot

the rotate degree.

col

colours for heatmap.

cex

font size.

xlab, ylab, main

character strings for xlab, ylab and figure title.

...

further parameters for lattice.

Value

an object of class lattice.

Examples

heat_dend(mtcars)

wanchanglin/mtExtra documentation built on Aug. 2, 2024, 5:47 p.m.