draw_heat: Heatmap with 'plotly'

View source: R/draw_heat.R

draw_heatR Documentation

Heatmap with plotly

Description

Draw a heatmap using plotly.

Usage

draw_heat(
  z,
  x = NULL,
  y = NULL,
  title = NULL,
  col = penn_heat(21),
  xlab = NULL,
  ylab = NULL,
  zlab = NULL,
  transpose = TRUE
)

Arguments

z

Input matrix.

x

Vectors for x-axis.

y

Vectors for y-axis.

title

Plot title.

col

Set of colors to make gradient from.

xlab

x-axis label.

ylab

y-axis label.

zlab

z value label.

transpose

Logical: If TRUE, transpose matrix.

Value

plotly object.

Author(s)

EDG


egenn/rtemis documentation built on June 14, 2025, 11:54 p.m.