getAncestors | R Documentation |
Get the getAncestors of a collection of nodes in a graph g, the getAncestors DO include the the nodes themselves.
getAncestors(g, nodes)
g |
the graph (as an igraph). |
nodes |
the nodes in the graph of which to get the getAncestors. |
a sorted vector of all ancestor nodes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.