Re: [R] heatmap ordered list

From: Martin Maechler <>
Date: Wed 05 Oct 2005 - 02:28:19 EST

>>>>> "Andrea" == Andrea Zangrando <>
>>>>> on Tue, 04 Oct 2005 15:00:27 +0200 writes:

    Andrea> Hi,
    Andrea> another problem on heatmaps... after generating the graph with

    Andrea> myBlRd <- colorRampPalette(c("blue", "red"))     Andrea> heatmap(dataHeat[Top100, ], col=myBlRd(15))

    Andrea> i need to retrieve the row names' list ordered by the dendrogram.
    Andrea> I tried with   "rownames(data)[Top100]"   but the list is not ordered 
    Andrea> (as i can see in the generated picture). Any tips?

Main tip :  do read the help page for functions you are using.
2nd tip : There's a section called "Value:" 3rd tip : hence use

            r <- heatmap(...) ## and work with 'r'

Martin Maechler, ETH Zurich mailing list PLEASE do read the posting guide! Received on Wed Oct 05 02:40:36 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 18:17:49 EST