Insert admixture edges into graph

insert_admix_n(graph, n = 1, fix_outgroup = TRUE)

Arguments

graph

An admixture graph

from

List of nodes. New edges will originate above these nodes.

to

List of nodes. New edges will end above these nodes.

substitute

Should another edge be inserted, if the one specified doesn't work?

Value

Admixture graph with inserted edges