Leonardini/treeCentrality: Computation of Network Science Statistics on Trees in Linear Time

The treeCentrality package is used for computing network science statistics on (rooted or unrooted) phylogenetic trees in linear time and space. The statistics include diameter, mean path length, degree assortativity and three node-based centrality values: betweenness centrality, closeness centrality, and eigenvector centrality. These statistics, useful for distinguishing evolutionary scenarios, are computed in time and space linear in the tree size, and can take branch length into account. In addition, this package can compute the spectra of the adjacency, Laplacian, and distance matrices, although this computation may be cubic in the tree size. The package can also compute a number of classical topology statistics, such as the Colless and Sackin indices, numbers of small configurations such as cherries, the heights of tree nodes, and “staircaseness” statistics. The methods are described in “Network science inspires novel tree shape statistics”.

Getting started

Package details

Maintainer
LicenseGPL-3
Version0.1.0
URL http://github.com/Leonardini/treeCentrality
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("remotes")
remotes::install_github("Leonardini/treeCentrality")
Leonardini/treeCentrality documentation built on April 7, 2020, 3:18 p.m.