powered by
Generate a ped and map file (PLINK format) for selected groups and chromosome
get.pedmap( population, path = NULL, database = NULL, gen = NULL, cohorts = NULL, non.genotyped.as.missing = FALSE, use.id = FALSE )
Population list
Location to save pedmap-file
Groups of individuals to consider for the export
Quick-insert for database (vector of all generations to export)
Quick-insert for database (vector of names of cohorts to export)
Set to TRUE to replaced non-genotyped entries with "./."
Set to TRUE to use MoBPS ids instead of Sex_Nr_Gen based names
Ped and map-file for in gen/database/cohorts selected individuals
# NOT RUN { data(ex_pop) # } # NOT RUN { file_path <- tempdir() get.pedmap(path=file_path, ex_pop, gen=2) file.remove(paste0(file_path, ".ped")) file.remove(paste0(file_path, ".map")) # }
Run the code above in your browser using DataLab