powered by
Derive pedigree for selected individuals including grandparents
get.pedigree2( population, database = NULL, gen = NULL, cohorts = NULL, shares = FALSE, founder.zero = TRUE, raw = FALSE, include.error = FALSE )
Pedigree-file (grandparents) 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)
Determine actual inherited shares of grandparents
Parents of founders are displayed as "0" (default: TRUE)
Set to TRUE to not convert numbers into Sex etc.
Set to TRUE to include errors simulated in the pedigree
data(ex_pop) get.pedigree2(ex_pop, gen=3)
Run the code above in your browser using DataLab