powered by
Derive pedigree for selected individuals
get.pedigree( 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
Individual IDs to search/collect in the database
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) pedigree = get.pedigree(ex_pop, gen=2)
Run the code above in your browser using DataLab