compare_methods_make_clusters.RdApply various clustering methods
compare_methods_make_clusters(mat, method = setdiff(all_clustering_methods(), "mclust"), verbose = TRUE)
| mat | The similarity matrix. |
|---|---|
| method | Which methods to compare. All available methods are in |
| verbose | Whether to print messages. |
The function compares following default clustering methods:
binary_cutsee binary_cut.
kmeanssee cluster_by_kmeans.
dynamicTreeCutmclustsee cluster_by_mclust. By default it is not included.
apclustersee cluster_by_apcluster.
fast_greedysee cluster_by_igraph.
leading_eigensee cluster_by_igraph.
louvainsee cluster_by_igraph.
walktrapsee cluster_by_igraph.
Also the user-defined methods in all_clustering_methods are also compared.
A list of cluster label vectors for different clustering methods.
# There is no example NULL#> NULL