allbranches | R Documentation |
Cuts a tree as resulting from hclust
function, into groups (a.k.a. modules).
allbranches(hh,minlen=5)
hh |
a tree as produced by |
minlen |
The minimum number of elements in each module. |
A list contains vectors of module memberships.
cutree
, hclust
, clusters.detection
data(Metabolites)
data=Metabolites$readMet$concentration
hh=hclust(dist(data),method="ward.D")
res=allbranches(hh)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.