Re: [R] heatmap aspect ratio

From: Gregoire Thomas <hb8hb8_at_gmail.com>
Date: Wed 07 Dec 2005 - 22:30:07 EST

You can change the code of "layout":
< layout(lmat, widths = lwid, heights = lhei, respect = TRUE)
> layout(lmat, widths = lwid, heights = lhei, respect = FALSE)

(best to create a new function "my.layout" with the modified code)

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)?
>
>Thanks in advance,
>
>Jake
>
>______________________________________________
>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
>
>
>



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 Wed Dec 07 22:40:10 2005

This archive was generated by hypermail 2.1.8 : Thu 08 Dec 2005 - 02:29:55 EST