jokergoo / ComplexHeatmap

Make Complex Heatmaps
https://jokergoo.github.io/ComplexHeatmap-reference/book/
Other
1.31k stars 230 forks source link

Extract Dendrogram from categorical split row clustering #1065

Open TommyPhannareth opened 1 year ago

TommyPhannareth commented 1 year ago

Please provide example datasets and the code you use. It will help me to understand your problem and help you!

Is there a way to extract the dendrogram formed from splitting the heatmap with a categorical variable?

categorical_split_dendrogram

jokergoo commented 1 year ago

Now you can use

row_dend(ht, on_slice)

to extract the dendrogram on the slice level.

Please update the package.