find_best_nr_cluster {MultIS} | R Documentation |
Finds the best number of clusters according to silhouette
Description
Finds the best number of clusters according to silhouette
Usage
find_best_nr_cluster(
data,
sim,
method_reconstruction = "kmedoids",
method_evaluation = "silhouette",
report = FALSE,
parallel = FALSE,
best = max,
return_all = FALSE,
...
)
Arguments
data |
The barcode data in a matrix. |
sim |
A similarity matrix. |
method_reconstruction |
The clustering method to use. |
method_evaluation |
The evaluation method to use. |
report |
Whether the current progress should be reported. Note that this will not work if parallel is set to TRUE. |
parallel |
Whether the clustering should be performed in parallel. |
best |
The method to use to determine the best clustering. |
return_all |
Whether to return the silhouette score for all clusterings. |
... |
passed params to evaluating clustering |
Value
The R^2 value for rows is1 and is2 in matrix dat
[Package MultIS version 0.6.2 Index]