Re: [R] heatmap aspect ratio

From: Sean Davis <sdavis2_at_mail.nih.gov>
Date: Fri 17 Jun 2005 - 00:36:35 EST

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



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Fri Jun 17 01:23:08 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:32:43 EST