Run clustering method (Need to specify number of clusters)

clusterMethodk(Dist, clmethod, k = 5, ...)

Arguments

Dist

distance matrix to calculate

clmethod

Method to run for clustering, can be chosen from: hclust: Hierachical clustering, apcluster: Affinity propagation clustering with k clusters, kmeans: kmeans clustering,

k

Number of clusters

...

Other parameters can be passed to clusterMethodk.

Value

A list contain clustering result.