Skip to contents

The total path length describes the sums of the depths of all vertices of the tree. This can also be calculated as the sum of the total internal path and the sackin index.

Usage

tot_path_length(phy)

Arguments

phy

phylo object or ltable

Value

Total path length

References

C. Colijn and J. Gardy. Phylogenetic tree shapes resolve disease transmission patterns. Evolution, Medicine, and Public Health, 2014(1):96-108, 2014. ISSN 2050-6201. doi: 10.1093/emph/eou018.