graph_minusplus: Find all graphs which result from adding and removing one...

graph_minusplusR Documentation

Find all graphs which result from adding and removing one admixture edge

Description

Find all graphs which result from adding and removing one admixture edge

Usage

graph_minusplus(graph)

Arguments

graph

Admixture graph in igraph format

Value

A data frame with columns source_from, source_to, dest_from, dest_to, and graph

Examples

## Not run: 
newgraphs = graph_minusplus(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 Nov. 3, 2024, 12:56 a.m.