R/least_common_parents.R
least_common_parents.Rd
It finds the nodes that have no parents in the given set.
least_common_parents(graph, selected)
A graph object
A character vector of node ids