Apply various clustering methods

compare_methods_make_clusters(mat, method = setdiff(all_clustering_methods(), "mclust"),
    verbose = TRUE)

Arguments

mat

The similarity matrix.

method

Which methods to compare. All available methods are in all_clustering_methods. A value of all takes all available methods. By default mclust is excluded because its long runtime.

verbose

Whether to print messages.

Details

The function compares following default clustering methods:

binary_cut

see binary_cut.

kmeans

see cluster_by_kmeans.

dynamicTreeCut

see cluster_by_dynamicTreeCut.

mclust

see cluster_by_mclust. By default it is not included.

apcluster

see cluster_by_apcluster.

fast_greedy

see cluster_by_igraph.

leading_eigen

see cluster_by_igraph.

louvain

see cluster_by_igraph.

walktrap

see cluster_by_igraph.

Also the user-defined methods in all_clustering_methods are also compared.

Value

A list of cluster label vectors for different clustering methods.

Examples

# There is no example NULL
#> NULL