column_dend-HeatmapList-method | R Documentation |
Get Column Dendrograms from a hHeatmap List
## S4 method for signature 'HeatmapList'
column_dend(object, name = NULL, on_slice = FALSE)
object |
A |
name |
Name of a specific heatmap. |
on_slice |
If the value is TRUE, it returns the dendrogram on the slice level. |
The format of the returned object depends on whether rows/columns of the heatmaps are split.
Zuguang Gu <z.gu@dkfz.de>
mat = matrix(rnorm(100), 10)
ht_list = Heatmap(mat) + Heatmap(mat)
ht_list = draw(ht_list)
column_dend(ht_list)
ht_list = Heatmap(mat, column_km = 2) + Heatmap(mat, column_km = 2)
ht_list = draw(ht_list)
column_dend(ht_list)
column_dend(ht_list, on_slice = TRUE)
ht_list = Heatmap(mat) %v% Heatmap(mat)
ht_list = draw(ht_list)
column_dend(ht_list)
ht_list = Heatmap(mat, column_km = 2) %v% Heatmap(mat)
ht_list = draw(ht_list)
column_dend(ht_list)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.