Modify a graph by regrafting a leaf

spr_leaves(graph, fix_outgroup = TRUE)

Arguments

graph

An admixture graph

Value

A new admixture graph