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.
Usage
tree.cutting (res,max_nc=20)
Value
A list contains the calculation for each clustering of Rousseeuw's Silhouette index.