powered by
Derive pedigree for selected individuals
get.pedigree_old( population, database = NULL, gen = NULL, cohorts = NULL, founder.zero = TRUE, raw = FALSE, use.id = TRUE, id = NULL, use.first.copy = FALSE, include.error = FALSE, depth = 1 )
Pedigree-file for in gen/database/cohorts selected individuals
Population list
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)
Parents of founders are displayed as "0" (default: TRUE)
Set to TRUE to not convert numbers into Sex etc.
Set to TRUE to extract individual IDs
Replaced by use.id ((consistency with all other get.xxx functions))
Set to TRUE to use database-position of the first copy of an individual (default: FALSE)
Set to TRUE to include errors simulated in the pedigree
Depth (1) for parents, (2) for grandparents, (3) for grandgrandparents etc.
data(ex_pop) get.pedigree_old(ex_pop, gen=2)
Run the code above in your browser using DataLab