Description Usage Arguments Value See Also Examples
Traverse the whole graph or its subset. graph
is a graph structure
as returned by connect_artifacts; it is a named list
of list
s,
each of which contains two keys: children
and parents
, which are
character
vectors with node identifiers matching names(graph)
.
The traverse starts in each identifier passed in start
(there can
by multiple starting nodes). It uses neighbours
to pick nodes to go
to from any given node; this function accepts two arguments: id
, a
node identifier and graph
which is the original graph structure.
1 |
graph |
graph structure, as returned by connect_artifacts. |
start |
a |
neighbours |
a |
a vector
of node identifiers visited on the traverse.
ancestry_graph, adjust_ancestry
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.