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.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("treelayout")

0.1.0 by Guangchuang Yu, 6 hours ago


https://github.com/YuLab-SMU/treelayout


Report a bug at https://github.com/YuLab-SMU/treelayout/issues


Browse source code at https://github.com/cran/treelayout


Authors: Guangchuang Yu [aut, cre, cph] (ORCID:


Documentation:   PDF Manual  


Artistic-2.0 license


Imports ape, methods, Rcpp, dplyr, rlang, stats, tibble, tidytree, utils

Suggests igraph, testthat

Linking to Rcpp


See at CRAN