cluster_by_pam: Cluster similarity matrix by pam clustering

View source: R/cluster.R

cluster_by_pamR Documentation

Cluster similarity matrix by pam clustering

Description

Cluster similarity matrix by pam clustering

Usage

cluster_by_pam(mat, max_k = max(2, min(round(nrow(mat)/10), 100)), ...)

Arguments

mat

The similarity matrix.

max_k

maximal k for pam clustering.

...

Other arguments passed to pamk.

Details

PAM is applied by pamk which can automatically select the best k.

Value

A vector of cluster labels (in numeric).

Examples

# There is no example
NULL


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