graph_minusone: Find all graphs which result from removing one admixture edge

graph_minusoneR Documentation

Find all graphs which result from removing one admixture edge

Description

Find all graphs which result from removing one admixture edge

Usage

graph_minusone(graph, ntry = Inf)

Arguments

graph

Admixture graph in igraph format

Value

A data frame with columns from, to, and graph

Examples

## Not run: 
newgraphs = graph_minusone(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 July 25, 2024, 2:13 p.m.