plink_to_genomeadmixr_data {GenomeAdmixR}R Documentation

function to convert plink style (ped/map) data to genome_admixr_data

Description

function to convert plink style (ped/map) data to genome_admixr_data

Usage

plink_to_genomeadmixr_data(
  ped_data,
  map_data,
  chosen_chromosome,
  verbose = FALSE
)

Arguments

ped_data

result of read.table(ped_file, header = F)

map_data

result of read.table(map_file, header = F)

chosen_chromosome

chromosome of choice

verbose

verbose output

Value

genomeadmixr_data object ready for simulate_admixture_data


[Package GenomeAdmixR version 2.1.7 Index]