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 June 14, 2024, 11:26 a.m.