Skip to contents

The average vertex depth metric, measures the average path (in edges), between the tips and the root.

Usage

avg_vert_depth(phy)

Arguments

phy

phylo object or ltable

Value

Average depth (in number of edges)

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.