R/toposearch.R
permute_leaves.Rd
Modify a graph by permuting leaf nodes
permute_leaves(graph, fix_outgroup = TRUE)
An admixture graph
Keep outgroup in place
A new admixture graph