calcPhyDv | R Documentation |
Returns the phylogenetic diversity of a tree for the tips specified.
calcPhyDv(tree, tids, parallel = FALSE, progress = "none")
tree |
|
tids |
tip ids |
parallel |
logical, make parallel? |
progress |
name of the progress bar to use, see |
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.
The function uses getCnntdNds()
.
Faith, D. (1992). Conservation evaluation and phylogenetic diversity. Biological Conservation, 61, 1-10.
calcFrPrp
, calcOvrlp
, getCnnctdNds
,
https://github.com/DomBennett/treeman/wiki/calc-methods
tree <- randTree(10)
calcPhyDv(tree, tree["tips"])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.