Enumeration and Uniform Sampling of Transmission Trees for a Known Phylogeny
Overview
For a single, known pathogen phylogeny, provides functions for enumeration of the set of compatible epidemic transmission trees, and for uniform sampling from that set. Optional arguments allow for incomplete sampling with a known number of missing individuals, multiple sampling, and known infection time limits. Always assumed are a complete transmission bottleneck and no superinfection or reinfection. See Hall and Colijn (2019) doi:10.1093/molbev/msz058 for methodology.
Install
Health
NOTERd filesr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64
checkRd: (-1) sample.partial.tt.Rd:41: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) sample.partial.tt.Rd:42: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) sample.partial.tt.Rd:43: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) sample.partial.tt.Rd:44: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) sample.partial.tt.Rd:45: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) sample.tt.Rd:32: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) sample.tt.Rd:33: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) sample.tt.Rd:34: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) sample.tt.Rd:35: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) sample.tt.Rd:36: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) tt.generator.Rd:38: Lost braces in \itemize; \
...[truncated]...
r.Rd:41: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) tt.generator.Rd:42: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) tt.generator.Rd:43-57: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) tt.generator.Rd:45: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) tt.generator.Rd:46: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) tt.generator.Rd:47: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) tt.generator.Rd:51: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) tt.generator.Rd:52: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) tt.generator.Rd:53: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) tt.generator.Rd:54: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) tt.generator.Rd:55: Lost braces in \itemize; \value handles \item{}{} directly- NOTE13 NOTE2026-06-18
- ERROR12 NOTE, 1 ERROR2026-06-11
- NOTE13 NOTE2026-06-09
- ERROR12 NOTE, 1 ERROR2026-06-08
- NOTE13 NOTE2026-05-10
Show 2 earlier changesHide 2 earlier changes
- ERROR12 NOTE, 1 ERROR2026-05-03
- NOTE14 NOTE2026-03-10
Documentation
- Help pages
- 8
- Examples that run
- 100%6 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 98%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- not measured
- Median days to close, 50 most recently updated closed issues
- 469
- Median days to close, 50 most recently updated closed PRs
- not measured
Stars over time
Checks run against github.com/mdhall272/stratus on 2026-10-11.
No development-tooling practices detected in the upstream repository.
Dependencies
Installing STraTUS adds 29 packages (17 with compiled code, 26 MB of source tarballs). Heaviest: ggplot2 6.0 MB, igraph 4.8 MB, phangorn 1.9 MB. 1 more not on CRAN is not measured.
Code & Tests
Datasets
People & History
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
- 1.1.2Latest
- 1.1.12019-05-21 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 1.12019-03-18
- RR 3.5.0 released · 2018-04-23
Package metadata
- First published
- 2019-03-18
- Total releases
- 3 / 7 yrs
- License
- GPL
- Minimum R
- ≥ 3.4
- Bundled data
- 0.7 KB / 2 files
- Download size
- 15 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("STraTUS")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.