Find all trees which are part of the admixture graph

graph_splittrees(graph, return_admix = FALSE, simplify = TRUE)

Arguments

graph

Admixture graph in igraph format

Value

A data frame with columns name and graph

Examples

if (FALSE) {
trees = graph_splittrees(example_igraph)
# now evaluate the trees
trees %>%
  rowwise %>%
  mutate(res = list(qpgraph(example_f2_blocks, graph))) %>%
  unnest_wider(res)
}