simulation_data_to_genomeadmixr_data: function to convert ped/map data to genome_admixr_data

View source: R/create_input_data.R

simulation_data_to_genomeadmixr_dataR Documentation

function to convert ped/map data to genome_admixr_data

Description

function to convert ped/map data to genome_admixr_data

Usage

simulation_data_to_genomeadmixr_data(
  simulation_data,
  markers = NA,
  verbose = FALSE
)

Arguments

simulation_data

result of simulate_admixture

markers

vector of locations of markers (in Morgan). If no vector is provided, the function searches for marker locations in the simulation_data.

verbose

provide verbose output (default is FALSE)

Value

genomeadmixr_data object ready for simulate_admixture_data


thijsjanzen/GenomeAdmixR documentation built on Feb. 16, 2024, 7:27 p.m.