partition_by_kmeans: Partition by kmeans

View source: R/node_partition.R

partition_by_kmeansR Documentation

Partition by kmeans

Description

Partition by kmeans

Usage

partition_by_kmeans(mat, n_repeats = 10)

Arguments

mat

The similarity matrix.

n_repeats

Number of repeated runs of k-means.

Details

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.

Examples

# There is no example
NULL


jokergoo/simplifyGO documentation built on Oct. 25, 2023, 9:02 p.m.