Remove cell labels in heatmap.2
0
0
Entering edit mode
3.8 years ago

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 • 1.7k views
ADD COMMENT
0
Entering edit mode

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

ADD REPLY

Login before adding your answer.

Traffic: 2773 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6