Description Usage Arguments Value Examples
Generate a ped and map file (PLINK format) for selected groups and chromosome
1 2 3 4 5 6 7 8 9 |
population |
Population list |
path |
Location to save pedmap-file |
database |
Groups of individuals to consider for the export |
gen |
Quick-insert for database (vector of all generations to export) |
cohorts |
Quick-insert for database (vector of names of cohorts to export) |
non.genotyped.as.missing |
Set to TRUE to replaced non-genotyped entries with "./." |
use.id |
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
1 2 3 4 5 6 | data(ex_pop)
file_path <- tempdir()
get.pedmap(path=file_path, ex_pop, gen=2)
file.remove(paste0(file_path, ".ped"))
file.remove(paste0(file_path, ".map"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.