R/get_leaves_as_df.R
get_leaves_as_df.Rd
Get leaves of a set of nodes in a data frame format.
get_leaves_as_df(graph, nodes)
A graph object
A character vector of node IDs
A data frame of leaves