Skip to content
Prev 264276 / 398502 Next

highlighting clusters in a heatmap

On Jun 30, 2011, at 8:02 PM, Levi Waldron wrote:

            
The code discloses the color image is made with the 'image' function  
and that its arguments include:

   ...,  xlim = 0.5 + c(0, nc), ylim = 0.5 + c(0, nr), ...

?image        # for details of coordinate choices.

Given the way the coordinate systems of that call  might get messed   
up by the subsequent 'plot' call, my guess is that the fastest way to  
get what you want is to hack 'heatmap' by adding a couple of argument  
and sticking a couple of "highlighting" functions just after the image  
call. (You haven't said how you are picking these levels.)