John Celniker wrote:
> 
> ...
> when I try to change the breaks to:
>> br2
>  [1] 0.0000000 0.5337751 1.0675502 1.6013253 2.1351003 3.0000000
> 3.5000000 4.0000000 4.5000000
> [10] 4.8039758
> 
> I get the correct heatmap representation but the color key does not
>  update correctly to reflect changes in breaks even though the
> superimposed histogram is correct.
> 
> 

This looks like the notorious 7.31 FAQ, and has been asked in the same
context already on this list (but the author did not believe it).

7.31 Why doesn't R think these numbers are equal?

Try to replace your 3.50000 and 4.5000 by 3.5001 and 4.5001 or (3.4999 and
4.4999); if things work after that, 7.31 hit again. If not, my guess was
wrong.

Dieter


-- 
View this message in context: 
http://www.nabble.com/heatmap.2-tp25884655p25886190.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to