Description Usage Arguments Value See Also Examples
Return a vector of all 'upstream' vertices in a graph from a given vertex
1 | get_ancestors(g, v)
|
g |
The graph from which to get the children |
v |
The 'name' of the vertex to get ancestors for |
A vector of the 'name's of ancestor vertices from v to root Class
get_ancestors
1 2 3 4 | ## Not run:
get_ancestors(NVC_graph, "856963")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.