insert_admix_old: Insert admixture edges into graph

insert_admix_oldR Documentation

Insert admixture edges into graph

Description

Insert admixture edges into graph

Usage

insert_admix_old(
  graph,
  fromnodes,
  tonodes,
  substitute_missing = FALSE,
  allow_below_admix = FALSE
)

Arguments

graph

An admixture graph

fromnodes

List of nodes. New edges will originate above these nodes.

tonodes

List of nodes. New edges will end above these nodes.

substitute_missing

If TRUE, an attempt will be made to insert random other edges if some of the provided edges could not be inserted.

allow_below_admix

Allow insertion of edges which begin or end directly underneath an admixture node

Value

Adxmiture graph with inserted edges


uqrmaie1/admixtools documentation built on April 25, 2024, 11:30 a.m.