Add population to graph

insert_leaf(graph, leaf, from, to)

Arguments

graph

An admixture graph

leaf

Population to be added

from

Source node of edge onto which leaf should be added

to

Target node of edge onto which leaf should be added

Value

Admixture graph with added population

See also

delete_leaf, graph_addleaf to add leaf at any position