plink_to_genomeadmixr_data: function to convert plink style (ped/map) data to...

View source: R/create_input_data.R

plink_to_genomeadmixr_dataR 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


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