How do you make a heat map and cluster with NA values?
问题 I am trying to make a heat map using my data however struggle to code it properly. My matrix is filled with log(x+1) values, this way I don't encounter log(0) errors however due to the nature of my data I have a bunch of 0 values and they mask any sort of trends the heat map could be showing. Because of that I want to colour any 0 values grey or black and then the rest of my data colour along a blue-white-red spectrum. Here is the coding I am using, RHeatmap <- read.delim("~/Desktop/RHeatmap