List leaf nodes for all internal nodes in a list of graphs

summarize_descendants_list(graphlist, rename = FALSE)

Arguments

graphlist

A list of admixture graphs

rename

If FALSE (default), the output will be a data frame indicating how often each node in each graph is observed in all other graphs. If TRUE, the output will be a list, where the inner nodes will be renamed to have these percentages as part of their name. plot_graph will print the percentages of graphs renamed in this way.

Value

A data frame with columns graph, from, n, frac

Examples

if (FALSE) {
summarize_descendants_list(graphlist)
}