| heatmap_rendersize | R Documentation |
Estimate heatmap render size
heatmap_rendersize(
width,
height,
units,
ha_top_list,
ha_left,
ha_right,
ht_list,
legend_list,
flip
)
width |
Numeric vector of heatmap body widths.
Interpretation depends on |
height |
Numeric vector of heatmap body heights.
Interpretation depends on |
units |
Unit string for numeric-to-grid conversion (for example, |
ha_top_list |
A list of top annotations (typically |
ha_left |
Optional left annotation. |
ha_right |
Optional right annotation. |
ht_list |
A |
legend_list |
A list containing legend objects; |
flip |
Logical; when |
A list with numeric width_sum and height_sum in units.
mat <- matrix(rnorm(100), nrow = 10)
ht <- ComplexHeatmap::Heatmap(mat, name = "expr")
size <- heatmap_rendersize(
width = c(4),
height = c(3),
units = "in",
ha_top_list = list(),
ha_left = NULL,
ha_right = NULL,
ht_list = ht,
legend_list = list(),
flip = FALSE
)
size
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.