get.pedigree: Derive pedigree
Description
Derive pedigree for selected individuals
Usage
get.pedigree(
population,
database = NULL,
gen = NULL,
cohorts = NULL,
founder.zero = TRUE,
raw = FALSE,
id = FALSE
)
Arguments
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)
founder.zero
Parents of founders are displayed as "0" (default: TRUE)
raw
Set to TRUE to not convert numbers into Sex etc.
id
Set to TRUE to extract individual IDs
Value
Pedigree-file for in gen/database/cohorts selected individuals
Examples
Run this code# NOT RUN {
data(ex_pop)
get.pedigree(ex_pop, gen=2)
# }
Run the code above in your browser using DataLab