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 Nov. 3, 2024, 12:56 a.m.