HierarchicalClustering`
HierarchicalClustering`

TruncateDendrogram

TruncateDendrogram

is an option for DendrogramPlot that specifies the fusion levels at which to truncate the dendrogram.

Details and Options

  • To use TruncateDendrogram, you first need to load the Hierarchical Clustering Package using Needs["HierarchicalClustering`"].
  • Valid settings are All, positive integers, or a list of two positive integers. The integers should be no larger than the number of clusters. With the default setting All, no truncation is performed.
  • The setting TruncateDendrogram->n truncates clusters with the smallest fusion levels so that n leaves remain.
  • The setting TruncateDendrogram->{m,n} will display only the m through n fusion levels.

Examples

Basic Examples  (1)

Dendrogram truncated such that four leaves remain:

Wolfram Research (2007), TruncateDendrogram, Wolfram Language function, https://reference.wolfram.com/language/HierarchicalClustering/ref/TruncateDendrogram.html.

Text

Wolfram Research (2007), TruncateDendrogram, Wolfram Language function, https://reference.wolfram.com/language/HierarchicalClustering/ref/TruncateDendrogram.html.

CMS

Wolfram Language. 2007. "TruncateDendrogram." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/HierarchicalClustering/ref/TruncateDendrogram.html.

APA

Wolfram Language. (2007). TruncateDendrogram. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/HierarchicalClustering/ref/TruncateDendrogram.html

BibTeX

@misc{reference.wolfram_2024_truncatedendrogram, author="Wolfram Research", title="{TruncateDendrogram}", year="2007", howpublished="\url{https://reference.wolfram.com/language/HierarchicalClustering/ref/TruncateDendrogram.html}", note=[Accessed: 22-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_truncatedendrogram, organization={Wolfram Research}, title={TruncateDendrogram}, year={2007}, url={https://reference.wolfram.com/language/HierarchicalClustering/ref/TruncateDendrogram.html}, note=[Accessed: 22-December-2024 ]}