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
A plotly heatmap object.