bioRxivBioinformaticsPreprint
Rclade: automated taxonomic collapsing and geological-timescale annotation of time-calibrated phylogenetic trees in R
Abstract
Background: Reproducible taxonomic collapsing and geological-timescale annotation of time-calibrated phylogenetic trees in R often require coordination among several packages and repeated code for label parsing, clade validation, plotting, and export. Workflow-managed analyses additionally benefit from non-interactive configuration, predictable diagnostics, and machine-readable exit status. Results: We present Rclade, an R package that consolidates the multi-package coordination required for taxonomic collapsing into a streamlined, single-function interface. Rclade provides (1) custom ggproto objects (GeomPolygonStraight/GeomSegmentStraight) that bypass coord_munch() interpolation to achieve straight-edge rendering of collapsed triangles in circular layouts; (2) automatic detection and parsing of four taxonomic-label formats (GTDB, Silva, NCBI, embedded) plus user-supplied custom regex, with explicit input-validation contracts and parsing-accuracy evaluation on real and derived test sets; and (3) workflow embeddability through YAML configuration, library-mode APIs, and standard Unix exit codes. Benchmarks on synthetic and real datasets (200-10,000 synthetic tips and real reference trees up to 10,122 tips; 5 replicates at every scale under a unified fully rendered measurement protocol) show that the full-pipeline overhead is modest for interactive use (median {approx}0.87 s in-session rendering and {approx}8.4 s process-level wall-clock at 10,000 tips). Conclusions: Rclade is a convenience layer over the ggtree/deeptime ecosystem that reduces boilerplate while adding targeted technical improvements for circular-layout rendering and format heterogeneity management.
- Citations
- 0
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- FigTreeKit: A Python toolkit for programmatic FigTree styling, taxonomy-aware clade auditing, and phylogenetic tree rendering
Zichao Zeng, Yinzhao Wang·bioRxiv·Aug 28, 2026
- clootl: an R package for accessing and manipulating a complete, versioned avian phylogeny
Eliot T. Miller, Luna L. Sánchez‐Reyes, Emily Jane McTavish·bioRxiv·Apr 24, 2026
- TreeSearch: morphological phylogenetic analysis in R
M. R. Smith·bioRxiv·Nov 8, 2021
- RevGadgets: an R Package for visualizing Bayesian phylogenetic analyses from RevBayes
C. M. Tribble, W. A. Freyman, … M. R. May·Methods in Ecology and EvolutionPeer-reviewed·Nov 27, 2021
- phyloregion: R package for biogeographic regionalization and spatial conservation
Barnabas H. Daru, Piyal Karunarathne, Klaus Peter Schliep·Methods in Ecology and EvolutionPeer-reviewed·Aug 29, 2020
- speciesgeocodeR: An R package for linking species occurrences, user-defined regions and phylogenetic trees for biogeography, ecology and evolution
Alexander Zizka, Alexandre Antonelli·bioRxiv·Nov 24, 2015