View source: R/node_partition.R
partition_by_kmeans | R Documentation |
Partition by kmeans
partition_by_kmeans(mat, n_repeats = 10)
mat |
The similarity matrix. |
n_repeats |
Number of repeated runs of k-means. |
Since k-means clustering brings randomness, this function performs
k-means clustering several times (controlled by n_repeats
) and uses the final consensus partitioning.
This function is used to set to the partition_fun
argument in binary_cut
.
# There is no example
NULL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.