0

I've generated correlation heatmaps using the following code:

corrplot(data, method = "color", type = "lower", order = "hclust", col=colorRampPalette(c("blue","white","red"))(400), tl.col = 'black', cl.ratio = 0.2, tl.srt = 45)

I also have hierarchical clustering results from pvclust and would like to add those results to the correlation plot so that each cluster is grouped together by a box on the correlation plot. Does anyone know how to do this? Thanks!!

user438383
  • 5,716
  • 8
  • 28
  • 43
LL21
  • 1
  • 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 and desired output that can be used to test and verify possible solutions. – MrFlick Feb 06 '23 at 19:21

0 Answers0