treelayout: Tree Layout Algorithms for Phylogenetic Trees and Other Tree-Like Structures

Computes node coordinates for phylogenetic trees and other tree-like structures. Given a tree, returns one row per node with x and y coordinates, ready for plotting by any graphics system. This is the layout engine used by the 'ggtree' package, extracted so that the coordinate computation can be used without a plotting dependency.

Version: 0.1.0
Depends: R (≥ 4.2.0)
Imports: ape, methods, Rcpp, dplyr, rlang, stats, tibble, tidytree (≥ 0.4.5), utils
LinkingTo: Rcpp
Suggests: igraph, testthat (≥ 3.0.0)
Published: 2026-11-11
DOI: 10.32614/CRAN.package.treelayout (may not be active yet)
Author: Guangchuang Yu ORCID iD [aut, cre, cph]
Maintainer: Guangchuang Yu <guangchuangyu at gmail.com>
BugReports: https://github.com/YuLab-SMU/treelayout/issues
License: Artistic-2.0
URL: https://github.com/YuLab-SMU/treelayout
NeedsCompilation: yes
CRAN checks: treelayout results

Documentation:

Reference manual: treelayout.html , treelayout.pdf

Downloads:

Package source: treelayout_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=treelayout to link to this page.