swap_leaves: Modify a graph by swapping two leaf nodes

swap_leavesR Documentation

Modify a graph by swapping two leaf nodes

Description

Modify a graph by swapping two leaf nodes

Usage

swap_leaves(graph, fix_outgroup = TRUE)

Arguments

graph

An admixture graph

fix_outgroup

Keep outgroup in place

Value

A new admixture graph


uqrmaie1/admixtools documentation built on March 20, 2024, 8:24 a.m.