PD_deficit | R Documentation |
Title Calculate the amount of phylogenetic deficit in assemblages
PD_deficit(phylo, data, level = "Congeneric_insertion")
phylo |
Phylogenetic tree in newick format, can be an object from |
data |
A data frame containing the classification informing the level of insertions. This can be obtained
from |
level |
Character indicating which level must be considered in the calculation of PD deficit. Can be a vector with the levels ("Congeneric_insertion", "Congeneric_Family_level", "Family_insertion", "Order_insertion") which will be considered in the calculation of phylogenetic deficit. default is "Congeneric_insertion". |
A vector containing four values:
- Amount phylogenetic information present in the tree before insertions (PDintree) - Amount of phylogenetic information inserted in the tree (PDdeficit) - Total Phylogenetic information of the tree (PDtotal) - A ratio calculated as PDdeficit/PDtotal (Darwinian_deficit)
FishPhyloMaker
for phylogeny and data frame containing the classification of insertions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.