Modify a graph by changing the position of the root node

place_root_random(graph, fix_outgroup = TRUE)

Arguments

graph

An admixture graph

fix_outgroup

Keep outgroup in place

Value

A new admixture graph