Re: [R] hclust and cutree: identifying branches as classes

2011-09-12 Thread Peter Langfelder
On Mon, Sep 12, 2011 at 4:59 AM, Laurent Fernandez Soldevila wrote: > Good afternoon, > > > After cuting a hierarchical tree using cutree(), how to check correspondances > between classes and branches? > This is what we do: > > srndpchc <- hclust(dist(srndpc$x[1:1000,1:3]),method="ward") #creatio

[R] hclust and cutree: identifying branches as classes

2011-09-12 Thread Laurent Fernandez Soldevila
Good afternoon, After cuting a hierarchical tree using cutree(), how to check correspondances between classes and branches? This is what we do: srndpchc <- hclust(dist(srndpc$x[1:1000,1:3]),method="ward") #creation of hierarchical tree plclust(srndpchc,hmin=2) #visualisation srndpchc2