Open gurpreet-bioinfo opened 6 months ago
Same for me. Using {ComplexHeatmap} v2.20.0 and R 4.4.1. The same argument in pheatmap::pheatmap()
works, though. It seems like a problem in {ComplexHeatmap}, not in {pheatmap}.
Thanks! This is a bug and now I have fixed it. Please install the version from GitHub.
m = matrix(rnorm(100), 10)
m[sample(100, 10)] = NA
Heatmap(m, na_col = "green")
ComplexHeatmap::pheatmap(m, na_col = "green")
It works perfectly now. Thanks a lot for fixing this, @jokergoo! I guess you can close this issue now.
Hi @jokergoo , I am using v2.12.1 of the package and
na_col
argument does not work with both Heatmap() and pheatmap()! :(