Displaying 1 result from an estimated 1 matches for "leja".
Did you mean:
lea
2011 Mar 29
0
Fwd: comparing heatmaps
Thanks Tom.
heatmap.2(mat, Rowv=NA, Colv=NA, col=redgreen, breaks=seq(-1,1,by=0.01), symm=TRUE, trace="none", dendrogram="none")
that did the trick :)
Begin forwarded message:
From: "Leja, Thomas"
Date: 29 March 2011 03:47:59 GMT+01:00
To: "Benton, Paul"
Subject: Re: [R] comparing heatmaps
Yep, you have to specify the range for colours.
I usually plot the correlations from 0 to 1. Just add "breaks" option and colour without the gradient:
col=redgreen, brea...