graph_flipadmix: Find all valid graphs which result from flipping one...

graph_flipadmixR Documentation

Find all valid graphs which result from flipping one admixture edge

Description

Find all valid graphs which result from flipping one admixture edge

Usage

graph_flipadmix(graph)

Arguments

graph

Admixture graph in igraph format

Value

A data frame with columns from, to, and graph

Examples

## Not run: 
newgraphs = graph_flipadmix(example_igraph)
# now evaluate the new graphs
newgraphs %>%
  rowwise %>%
  mutate(res = list(qpgraph(example_f2_blocks, graph))) %>%
  unnest_wider(res)

## End(Not run)

uqrmaie1/admixtools documentation built on March 4, 2024, 10:19 p.m.