talgalili / dendextend

Extending R's Dendrogram Functionality
153 stars 29 forks source link

How to color branches based on a label. #115

Closed slizarazo21 closed 1 year ago

slizarazo21 commented 1 year ago

I am building my dendogram and everything is perfect, but I would like to color the nodes and branches based on the label of the leave and not based on a predetermined cluster. How can I do that?

talgalili commented 1 year ago

Hey :) Please ask this in stackoverflow using the dendextend and r tags. https://stackoverflow.com/questions/tagged/dendextend

Thanks.