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 Nov. 3, 2024, 12:56 a.m.