[R] heatmap aspect ratio

Sean Davis sdavis2 at mail.nih.gov
Thu Jun 16 16:36:35 CEST 2005


On Jun 16, 2005, at 9:47 AM, Jacob Michaelson wrote:

> Hi all,
>
> Does anyone know of a fairly easy way to "stretch" a heatmap
> vertically?  I've got 42 arrays and would like to be able to see as
> many significant genes as possible (right now I can only get 50 genes
> with it still being readable).  In some comparisons there are several
> hundred significant genes.
>
> I've fiddled with the "asp" argument, but that doesn't give the
> results I'm looking for -- only scales the images, not the dendrograms.
>
> Is there any way to make the heatmap rectangular rather than square
> without hacking the heatmap function itself (which is where I'm
> headed next)?

Jacob,

I use heatmap.2 from the gplots package (part of gregmisc bundle).  It 
is more "customizable" than heatmap.

Sean




More information about the R-help mailing list