2

I found this topic and I would like to got similar result plot. I am trying to plot a heatmap with the library pheatmap in R and I need to increase the left branch size. I would like to decrease the colored area and increase dendrogram branches. I found another topic that do a bit of what I need, but in that one, dendrogram is splitted from heatmap. Here is a sample code:

library(pheatmap) test = cbind(matrix(rnorm(3000), 100, 2), matrix(rnorm(3000)+10, 100, 2)) pheatmap(test) pheatmap(test, cluster_cols = FALSE)

enter image description here

jay.sf
  • 60,139
  • 8
  • 53
  • 110
Tatui1969
  • 51
  • 6

0 Answers0