treestats
1.71.12Phylogenetic Tree Statistics
Overview
Collection of phylogenetic tree statistics, collected throughout the literature. All functions have been written to maximize computation speed. The package includes umbrella functions to calculate all statistics, all balance associated statistics, or all branching time related statistics. Furthermore, the 'treestats' package supports summary statistic calculations on Ltables, provides speed-improved coding of branching times, Ltable conversion and includes algorithms to create intermediately balanced trees. Full description can be found in Janzen (2024) doi:10.1016/j.ympev.2024.108168.
Install
Health
- OK2026-06-1913 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- WARNING2026-06-1712 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
- OK2026-04-3013 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- WARNING2026-04-2311 OK · 2 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
- NOTE2026-04-2212 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 2 earlier snapshots
- ERROR2026-04-1811 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- NOTE2026-03-1012 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- 100%
- Return-value docs
- 97%
- References docs
- 65%
Downloads
Repository
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Repository practices
2 development-tooling and community-health practices detected across 2 families in the upstream repository
Checks run against github.com/thijsjanzen/treestats on 2026-07-19.
Dependencies
Code & Tests
- Cyclomatic complexity
- 1.0 median / 16 max
- Test cases
- 171 / 0.94 per code line
- System requirements
- 1 external
Test coverage
Line coverage
95%
Expression
95.1%
Tests / Examples
95.2% / 23% ex
Functions
381 79 exported
Complexity
2.7 avg / 16 max
Call network
381 nodes / 388 edges
Call graph
Open call graph →Lowest coverage
381 functions| Function | Cyclo | Coverage |
|---|---|---|
| minmax_adj exp | 7 | 76% |
| diameter exp | 5 | 76% |
| beta_statistic exp | 3 | 77% |
| minmax_laplace exp | 8 | 79% |
| slow_calc | 3 | 83% |
| check_tree | 16 | 88% |
People & History
8 releases. Pick two to compare their code metrics. R releases are shown for context.
Package metadata
- First published
- 2024-01-12
- Total releases
- 8 / 2 yrs
- License
- GPL-3 OSI
- Download size
- 2.1 MB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet