I have generated a dendrogram using the ggdendro package of R but I am unable to colour the labels and branches. I want to colour it according to the value of k
which is k=8
in my case. How can I do it? Below is the dendrogram I have generated:
The second picture is the one which I want. The problem with that is it doesn't have a scale for the y-axis.