Modular Leaf Ordering Methods for Dendrogram Nodes
Overview
An implementation of functions to optimize ordering of nodes in a dendrogram, without affecting the meaning of the dendrogram. A dendrogram can be sorted based on the average distance of subtrees, or based on the smallest distance value. These sorting methods improve readability and interpretability of tree structure, especially for tasks such as comparison of different distance measures or linkage types and identification of tight clusters and outliers. As a result, it also introduces more meaningful reordering for a coupled heatmap visualization. This method is described in "dendsort: modular leaf ordering methods for dendrogram representations in R", F1000Research 2014, 3: 177 doi:10.12688/f1000research.4784.1.
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 10 (7 internal)includes a package overview page
- Examples that run
- 100%8 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
Stars over time
Issues over time
1 development-tooling and community-health practice detected across 1 family in the upstream repository
Checks run against github.com/evanbiederstedt/dendsort on 2026-10-11.
Dependencies
Installing dendsort adds no packages beyond those that come with R.
Code & Tests
Datasets
People & History
Previously maintained by Ryo Sakai (0.1.1 to 0.3.3).
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
- RR 3.2.0 released · 2015-04-16
- RR 3.1.0 released · 2014-04-10
- 3.0.3Latest
- 0.3.42021-04-20 · diff ↗
- 0.3.32015-12-14 · diff ↗ ·
removed 1 export
pattern:^[[:alpha:]]+added 8 exports
cal_length, cal_node_limit, cal_total_length, dendsort, sort_average, sort_average_r, sort_smallest, sort_smallest_r
Package metadata
- First published
- 2014-02-28
- Total releases
- 8 / 12 yrs
- License
- GPL-2 | GPL-3 OSI
- Bundled data
- 33 KB / 1 file
- Download size
- 1.8 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("dendsort")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-19, which the citation names so these numbers can be found later. More on citing and the projects behind them.