[R] heatmap ordered list

Andrea Zangrando andrea.zangrando at unipd.it
Tue Oct 4 15:00:27 CEST 2005


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

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

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

Tnx
AZ

-- 
Andrea Zangrando - Ph.D. Student

University of Padova
Department of Pediatrics
Laboratory of Pediatric OncoHematology
Via Giustiniani, 3
35128 Padova - Italy
Phone: +39 049 8211457
Fax: +39 049 8211456
Email:   andrea.zangrando at unipd.it




More information about the R-help mailing list