Description Usage Arguments Examples
This function returns a list of the ancestors of the inputted variety within and including a given number of generations
1 | getAncestors(v1, tree, gen = 3)
|
v1 |
the label of the variety/vertex of interest (in character string format) |
tree |
the data tree (in data frame format) |
gen |
the number of generations back to include as ancestors |
1 2 3 4 | data(sbTree)
getParent("Essex", sbTree)
getAncestors("Essex", sbTree, 1)
getAncestors("Essex", sbTree, 5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.