Insert a single edge into graph

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