estimate_k | R Documentation |
To estimate the optimal cluster number , 'estimate_k' takes advantage of two measures, Calinski-Harabasz (CH) Index and silhouette coefficients.
estimate_k(b, verK = 2:10)
b |
bacterial abundance matrix |
verK |
number vector of cluster |
list
data(iris) b <- bSet(b = data.table::as.data.table(t(iris[1:6, 1:4])), Features = letters[1:4], Samples = LETTERS[1:6]) ret <- estimate_k(b = b, 2:3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.