column_dend-Heatmap-method | R Documentation |
Get Column Dendrograms from a Heatmap
## S4 method for signature 'Heatmap'
column_dend(object, on_slice = FALSE)
object |
A |
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 = Heatmap(mat)
ht = draw(ht)
column_dend(ht)
ht = Heatmap(mat, column_km = 2)
ht = draw(ht)
column_dend(ht)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.