desimplify_graph: Add two nodes before each admixture node

desimplify_graphR Documentation

Add two nodes before each admixture node

Description

This is used to revert simplify_graph.

Usage

desimplify_graph(graph)

Arguments

graph

An admixture graph

Examples

simple = simplify_graph(example_igraph)
desimple = desimplify_graph(simple)
plot_graph(simple)
plot_graph(desimple)

uqrmaie1/admixtools documentation built on July 25, 2024, 2:13 p.m.