simulation_data_to_genomeadmixr_data {GenomeAdmixR}R 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


[Package GenomeAdmixR version 2.1.7 Index]