cut_dendrogram {mappeR} | R Documentation |
Cut a dendrogram
Description
Cut a dendrogram
Usage
cut_dendrogram(dend, threshold)
Arguments
dend |
A single dendrogram. |
threshold |
A mininum tallest branch value. |
Details
The number of clusters is determined to be 1 if the tallest branch of the dendrogram is less than the threshold, or if the index of dispersion (standard deviation squared divided by mean) of the branch heights is below 0.015. Otherwise, we cut at the longest branch of the dendrogram to determine the number of clusters.
Value
A named vector whose names are data point names and whose values are cluster labels.
[Package mappeR version 1.2.0 Index]