insert_admix: Insert a single edge into graph

insert_admixR Documentation

Insert a single edge into graph

Description

Insert a single edge into graph

Usage

insert_admix(
  graph,
  source_from = NULL,
  source_to = NULL,
  dest_from = NULL,
  dest_to = NULL,
  substitute = FALSE,
  fix_outgroup = TRUE
)

Arguments

graph

An admixture graph

source_from

Parent node of the source edge

source_to

Child node of the source edge

dest_from

Parent node of the destination edge

dest_to

Child node of the destination edge

substitute

Should another edge be inserted, if the one specified doesn't work?

Value

Adxmiture graph with inserted edge

See Also

delete_admix, insert_admix_n


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