[BioC] hclust-how to get the subject name, not its cluster number

Liu, Xin Xin.Liu at arradx.com
Mon Nov 15 18:53:48 CET 2004


Dear all,

>      hc <- hclust(dist(USArrests)^2, "cen")
>      memb <- cutree(hc, k = 3)
> memb[1:3]
Alabama  Alaska Arizona 
      1       1       1 

how to get the first subject in memb "Alabama", not "1"? Thanks!

Xin LIU

This e-mail is from ArraDx Ltd

The e-mail and any files transmitted with it are confidentia...{{dropped}}



More information about the Bioconductor mailing list