Description Usage Arguments Value Examples
Calculate average number of ancestors per node (n) and diversity (D) for a phylogenetic tree
1 |
data |
dataframe comprising an adjacency matrix, including Population |
Vector containing average number of ancestors per node (n) and diversity (D)
1 2 | edges1 <- data.frame(Parent = c(0,1,1,2,2,3,3), Identity = 1:7, Population = c(2,10,5,10,20,10,3))
metrics(edges1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.