Print out the edge list corresponding to a subset of nodes in a graph. Useful for inspecting particular nodes of interest in a large graph. Out is indexed by children, with the parents of each node listed to the right of each child.
show.parents(x, nodes, nchar = 4)sparsebnFit object.
character vector containing names of nodes to show.
integer indicating how many characters of each parent to show in
printed output. Use this to control how the output appears on screen, larger
numbers allow for longer node names but may present formatting issues for
large graphs. Defaults to 4.
Uses partial matching, duplicates are OK and will be duplicated in output.