Re: [R] heatmap aspect ratio

2005-12-07 Thread Gregoire Thomas
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


[R] heatmap aspect ratio

2005-06-16 Thread Jacob Michaelson
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


Re: [R] heatmap aspect ratio

2005-06-16 Thread Sean Davis

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