0

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))
Mark
  • 7,785
  • 2
  • 14
  • 34
  • It's easier to help you if you include a simple [reproducible example](https://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example) with sample input that can be used to test and verify possible solutions. – MrFlick Aug 24 '23 at 20:51

0 Answers0