This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Remove cell labels in heatmap.2

Hi

I'm trying to make a heat-map of differentially expressed genes using heatmap.2 in R. I'd like to remove the values that appear in each cell and just have the colours instead, but I can't see how to remove this. I;ve tried notecol="none" but it either returns error messages or gives me text over every cell. Is it possible to remove this? Here is the script I am using:

heatmap.2(mat_data, cellnote=mat_data, density.info="none", trace="none", margins =c(12,9), col=my_palette, dendrogram="row", Colv="NA")

Thanks

r heatmap

Did you try cellnote=NA or cellnote=NULL or cellnote=""? Those seem to the be choices at first glance.

0 answers

No answers yet.

Log in to answer this question.