calcFrPrp: Calculate evolutionary distinctness

Description Usage Arguments Details References See Also Examples

View source: R/calc-methods.R

Description

Returns the evolutationary distinctness of ids using the fair proportion metric.

Usage

1
calcFrPrp(tree, tids, progress = "none")

Arguments

tree

TreeMan object

tids

tip IDs

progress

name of the progress bar to use, see create_progress_bar

Details

The fair proportion metric calculates the evolutionary distinctness of tips in a tree through summing the total amount of branch length each tip represents, where each branch in the tree is evenly divided between all descendants. Parallelizable.

References

Isaac, N.J.B., Turvey, S.T., Collen, B., Waterman, C. and Baillie, J.E.M. (2007). Mammals on the EDGE: conservation priorities based on threat and phylogeny. PLoS ONE, 2, e296.

See Also

calcPhyDv, calcPrtFrPrp, https://github.com/DomBennett/treeman/wiki/calc-methods

Examples

1
2
3
library(treeman)
tree <- randTree(10)
calcFrPrp(tree, tree['tips'])

treeman documentation built on July 8, 2020, 7:28 p.m.