calcPhyDv: Calculate phylogenetic diversity

Description Usage Arguments Details References See Also Examples

View source: R/calc-methods.R

Description

Returns the phylogenetic diversity of a tree for the tips specified.

Usage

1
calcPhyDv(tree, tids, ...)

Arguments

tree

TreeMan object

tids

tip ids

...

plyr arguments

Details

Faith's phylogenetic diversity is calculated as the sum of all connected branches for specified tips in a tree. It can be used to investigate how biodviersity as measured by the phylogeny changes. Parallelizable.

References

Faith, D. (1992). Conservation evaluation and phylogenetic diversity. Biological Conservation, 61, 1-10.

See Also

calcFrPrp, calcOvrlp https://github.com/DomBennett/treeman/wiki/calc-methods

Examples

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

treeman documentation built on May 19, 2017, 8:33 p.m.

Search within the treeman package
Search all R packages, documentation and source code