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

summarize_descendants_listR Documentation

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

Description

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

Usage

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

## Not run: 
summarize_descendants_list(graphlist)

## End(Not run)

uqrmaie1/admixtools documentation built on April 25, 2024, 11:30 a.m.