mutate_n: Modify a graph by applying n mutation functions

mutate_nR Documentation

Modify a graph by applying n mutation functions

Description

Modify a graph by applying n mutation functions

Usage

mutate_n(
  graph,
  n = 2,
  funs = list(spr_all, spr_leaves, swap_leaves, move_admixedge_once, flipadmix_random,
    mutate_n),
  fix_outgroup = TRUE
)

Arguments

graph

An admixture graph

n

Number of functions to apply

funs

List of function from which to choose

fix_outgroup

Keep outgroup in place

Value

A new admixture graph


uqrmaie1/admixtools documentation built on Nov. 3, 2024, 12:56 a.m.