Draw a dynamic heatmap using heatmaply
dplot3.heatmap(z, Rowv = TRUE, Colv = TRUE, cluster = FALSE,
symm = FALSE, cellnote = NULL, colorGrad.n = 101, colors = NULL,
space = "rgb", lo = "#18A3AC", lomid = NULL, mid = "white",
midhi = NULL, hi = "#F48024", k.row = NA, k.col = NA,
grid.gap = 0, limits = NULL, margins = NULL, main = NULL,
xlab = NULL, ylab = NULL, key.title = NULL,
showticklabels = NULL, ...)
Input matrix
Logical or dendrogram.
If Logical: Compute dendrogram and reorder rows. Defaults to FALSE
If dendrogram: use as is, without reordering
See more at heatmaply::heatmaply("Rowv")
Logical or dendrogram.
If Logical: Compute dendrogram and reorder columns. Defaults to FALSE
If dendrogram: use as is, without reordering
See more at heatmaply::heatmaply("Colv")
Logical: If TRUE, set Rowv
and Colv
to TRUE
Logical: If TRUE, treat x
symmetrically - x
must be a square matrix. Default = FALSE
Matrix with values to be desplayed on hover. Defaults to ddSci(z)
String: Acts as a shortcut to defining lo
, mid
, etc for a number of defaults:
"french", "penn", "grnblkred",
String: Which colorspace to use. Option: "rgb", or "Lab". Default = "rgb".
Recommendation: If mid
is "white" or "black" (default), use "rgb", otherwise "Lab"
Color for low end
Color for low-mid
Color for middle of the range or "mean", which will result in colorOp(c(lo, hi), "mean")
.
If mid = NA
, then only lo
and hi
are used to create the color gradient.
Color for middle-high
Color for high end
Integer: Number of desired number of groups by which to color dendrogram branches in the rows.
Default = NA (determined automatically). See heatmaply::heatmaply("k_row")
Integer: Number of desired number of groups by which to color dendrogram branches in the columns.
Default = NA (determined automatically). See heatmaply::heatmaply("k_col")
Integer: Space between cells. Default = 0 (no space)
Float, length 2: Determine color range. Default = NULL, which automatically centers values around 0
Float, length 4: Heatmap margins. Default = c(30, 30, 30, 30)
String: Plot title
String: x-axis label
String: y-axis label
String: Title for the color key. Default = NULL (no title)
Additional arguments to be passed to heatmaply::heatmaply