[R] heatmap function

Martin Olivier martinol at ensam.inra.fr
Fri Oct 17 11:32:12 CEST 2003


Hi all,

By default, the heatmap function gives an image with a dendrogram added 
to the
left side and to the top. Is it possible to only add the dendrogram to 
the left side
and  let the order of the columns unchanged ?

I tried
heatmap(mat, col=rbg,Rowv=res.hclust$order,Colv=1:dim(mat)[[2]]).
In this case, the order of the columns are unchanged but a dendrogram
is added to the top. How can I avoid it?

Thanks,
Oiliver

-- 

-------------------------------------------------------------
Martin Olivier
INRA - Unité protéomique           LIRMM - IFA/MAB
2, Place Viala                     161, rue Ada
34060 Montpellier Cédex 1          34392 Montpellier Cédex 5	

Tel : 04 99 61 27 01               Tel : O4 67 41 86 71
martinol at ensam.inra.fr             martin at lirmm.fr




More information about the R-help mailing list