max_silhouette_consensus: Pick k based on the maximum silhouette score

View source: R/gen3DNet.R

max_silhouette_consensusR Documentation

Pick k based on the maximum silhouette score

Description

This function uses the average silhouette width (Rousseeuw 1987), as implemented in the NMF library (Gaujoux 2010).

Usage

max_silhouette_consensus(data, k_range)

Arguments

data

The data with an unknown number of clusters.

k_range

The range of possible k values

Value

The chosen value of k.


MollahLab/gen3DNet documentation built on Nov. 18, 2024, 5:08 a.m.