I was trying to make a hierarchical cluster with colors but the figure comes out with no color.
The code was working in the past, but now it's not, and I don't know what happened. Any help you could provide would be much appreciated.
cplot1 <- ggclust(obj=hcsample,
                  layout = "rectangular",
                  pointsize=1,
                  fontsize=0,
                  factorNames=c("Locality")
) +
  scale_color_manual(values=c("#00AED7", "#FD9347")) +
  theme_tree2(legend.position="right",
              plot.title = element_text(face="bold", lineheight=25,hjust=0.5))
 
    