Learn R Programming

GenomeAdmixR (version 2.1.12)

plink_to_genomeadmixr_data: 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
)

Value

genomeadmixr_data object ready for simulate_admixture_data

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