Dear All,

Thanks for kind help.

But I am really not able to understand the way it used. Can any plz help in
understanding the way it is used, as when i used the way it is given on
manual page, it said figure is beyond the margins.....

Also I want to reduce the size of the tree in the heatmap.

I shall be very thankful for your kind help

On Sat, Jan 31, 2009 at 12:27 AM, James W. MacDonald
<jmacdon@med.umich.edu>wrote:

> Hi Hemant,
>
> I think you want to read about the arguments 'lhei' and 'lmat',
> specifically in the last paragraph of the details section of ?heatmap.2. You
> will also likely want to look at ?layout, which is what these arguments
> control.
>
> Best,
>
> Jim
>
>
>
>
> hemant ritturaj wrote:
>
>> Dear All
>>
>> I was trying to make a heatmap using library(gplots)
>>
>> library("gplots")
>> t <-(read.table("target_file",header=TRUE))
>> Y <-t$ID
>> x<-as.matrix(t[2:7])
>>
>> heatmap.2(x,col=redgreen(75),Rowv=TRUE,Colv=TRUE,scale="row",key=TRUE,symkey=FALSE,
>> density.info
>>
>> ="none",labRow=Y,labCol=c("control","control","control","stress","stress","stress"),trace="none",cexRow=0.5)
>>
>> My problem is, it plots a heatmap which looks very odd, I want to control
>> the size of box it make in heatmap.
>>
>> Using margin=c(12,12) in the function reduces the picture as a whole but
>> not
>> the size of boxes it makes.
>>
>> Can anyone help me making the pretty heatmap
>>
>> I shall be very thankful for your kind help
>>
>> Regards
>>
>>
> --
> James W. MacDonald, M.S.
> Biostatistician
> Hildebrandt Lab
> 8220D MSRB III
> 1150 W. Medical Center Drive
> Ann Arbor MI 48109-0646
> 734-936-8662
>



-- 
Hemant Ritturaj Kushwaha
PhD Student
Center for Computational Biology and Bioinformatics
Jawaharlal Nehru University
New Delhi-110067
Phone: 09868801604

	[[alternative HTML version deleted]]

