List leaf nodes for all internal nodes

summarize_descendants(graph)

Arguments

graph

An admixture graphs

Value

A data frame with columns from, to, id

Examples

if (FALSE) {
summarize_descendants(graph)
}