tree.cutting | R Documentation |
This function helps to estimate the optimal cluster number that fit the metabolites dataset. It applies different optimal cluster number calculating algorithms to cut clutering tree of hclust
function. and return a list contains index corresponding to each cluster number.
tree.cutting (res,max_nc=20)
res |
A list produced by |
max_nc |
The maximum number of cluster (default = 20). |
A list contains the calculation for each clustering of Rousseeuw's Silhouette index.
KODAMA.chem.sim
, WMCSA
data(Metabolites)
res=KODAMA.chem.sim(Metabolites$SMILES)
clu=tree.cutting(res,max_nc = 30)
plot(clu$min_nc:clu$max_nc,clu$res.S)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.