Description Usage Arguments Details Value See Also Examples
Plot the graph form of a path
1 | plot_path(graph, path)
|
graph |
The SemMed graph |
path |
A vertex sequence ( |
All connections among nodes along the supplied path are plotted with nodes labeled with their name and edges labeled with their predicate.
A plot is created on the current graphics device
text_path
for textual display of paths
1 2 3 4 5 6 | data(g_mini)
node_cortisol <- find_nodes(g_mini, names = "Serum cortisol")
node_stress <- find_nodes(g_mini, names = "Chronic Stress")
paths <- find_paths(g_mini, from = node_cortisol, to = node_stress)
plot_path(g_mini, paths[[1]][[1]])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.