Description Usage Arguments Value Examples
Count the number of ancestors of a node in a phylogenetic tree
1 | count_drivers(edges, node)
|
edges |
dataframe comprising an adjacency matrix |
node |
node for which to calculate the metric |
Number of ancestors
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))
count_drivers(edges1, 6)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.