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

Description Usage Arguments Value Examples

Description

Find all valid graphs which result from flipping one admixture edge

Usage

1
graph_flipadmix(graph, desimplify = TRUE)

Arguments

graph

Admixture graph in igraph format

desimplify

Separate admixture edges from drift edges (default is TRUE)

Value

A data frame with columns from, to, and graph

Examples

1
2
3
4
5
6
7
8
9
## 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 Sept. 16, 2020, 5:55 a.m.