Package: treenomial 1.1.4

Matthew Gould

treenomial: Comparison of Trees using a Tree Defining Polynomial

Provides functionality for creation and comparison of polynomials that uniquely describe trees as introduced in Liu (2019, <arxiv:1904.03332>). The core method converts rooted unlabeled phylo objects from 'ape' to the tree defining polynomials described with coefficient matrices. Additionally, a conversion for rooted binary trees with binary trait labels is also provided. Once the polynomials of trees are calculated there are functions to calculate distances, distance matrices and plot different distance trees from a target tree. Manipulation and conversion to the tree defining polynomials is implemented in C++ with 'Rcpp' and 'RcppArmadillo'. Furthermore, parallel programming with 'RcppThread' is used to improve performance converting to polynomials and calculating distances.

Authors:Matthew Gould [aut, cre], Pengyu Liu [ctb], Caroline Colijn [ctb]

treenomial_1.1.4.tar.gz
treenomial_1.1.4.tar.gz(r-4.5-noble)treenomial_1.1.4.tar.gz(r-4.4-noble)
treenomial_1.1.4.tgz(r-4.4-emscripten)treenomial_1.1.4.tgz(r-4.3-emscripten)
treenomial.pdf |treenomial.html
treenomial/json (API)
NEWS

# Install 'treenomial' in R:
install.packages('treenomial', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/gouldmatt/treenomial/issues

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3
  • openmp– GCC OpenMP (GOMP) support library

2.13 score 27 scripts 169 downloads 10 exports 7 dependencies

Last updated 3 years agofrom:48233d6c67. Checks:OK: 1 NOTE: 1. Indexed: no.

TargetResultDate
Doc / VignettesOKOct 31 2024
R-4.5-linux-x86_64NOTEOct 31 2024

Exports:alignPolyallTreesplotExtremeTreespolyDistpolyToDistMattreeDisttreeJuliaSettreeToDistMattreeToPolywedge

Dependencies:apedigestlatticenlmeRcppRcppArmadilloRcppThread