[R] heatmap ordered list

From: Andrea Zangrando <andrea.zangrando_at_unipd.it>
Date: Tue 04 Oct 2005 - 23:00:27 EST


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@unipd.it

______________________________________________
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
Received on Tue Oct 04 23:20:31 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:40:35 EST