Cluster GO terms

cluster_GO(mat, method = "binary_cut", catch_error = FALSE, verbose = TRUE, ...)

Arguments

mat

A GO similarity matrix.

method

Method for clustering the matrix.

catch_error

Internally used.

verbose

Whether to print messages.

...

Other arguments passed to the clustering function.

Details

The following methods are supported:

binary_cut

see binary_cut.

kmeans

see cluster_by_kmeans.

dynamicTreeCut

see cluster_by_dynamicTreeCut.

mclust

see cluster_by_mclust.

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.

Note the parametes for each clustering method are passes by ... from cluster_GO.

Value

A numeric vector of cluster labels (in numeric).

If catch_error is set to TRUE and if the clustering produces an error, the function returns a try-error object.

Examples

# There is no example NULL
#> NULL