Description Usage Arguments Details Value See Also Examples
Grow a set of nodes into its first order neighborhood.
1  | grow_nodes(graph, nodes)
 | 
graph | 
 The SemMed graph  | 
nodes | 
 A vertex sequence (  | 
grow_nodes obtains the set of immediate neighbors of the
supplied nodes using igraph::ego. Unlike ego, 
grow_nodes flattens the result from a list to an ordinary
vertex sequence and removes the original search nodes.
A vertex sequence of nodes in the neighborhood (not including the original nodes)
find_nodes for filtering out irrelevant 
nodes from this set.
1 2 3 4  | data(g_mini)
node_cortisol <- find_nodes(g_mini, name = "hypercortisolemia")
nbrs <- grow_nodes(g_mini, node_cortisol)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.