graph_splittrees: Find all trees which are part of the admixture graph

graph_splittreesR Documentation

Find all trees which are part of the admixture graph

Description

Find all trees which are part of the admixture graph

Usage

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

## Not run: 
trees = graph_splittrees(example_igraph)
# now evaluate the trees
trees %>%
  rowwise %>%
  mutate(res = list(qpgraph(example_f2_blocks, graph))) %>%
  unnest_wider(res)

## End(Not run)

uqrmaie1/admixtools documentation built on June 14, 2024, 11:26 a.m.