get.pedigree2 {MoBPS} | R Documentation |
Derive pedigree including grandparents
Description
Derive pedigree for selected individuals including grandparents
Usage
get.pedigree2(
population,
database = NULL,
gen = NULL,
cohorts = NULL,
shares = FALSE,
founder.zero = TRUE
)
Arguments
population |
Population list |
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) |
shares |
Determine actual inherited shares of grandparents |
founder.zero |
Parents of founders are displayed as "0" (default: TRUE) |
Value
Pedigree-file (grandparents) for in gen/database/cohorts selected individuals
Examples
data(ex_pop)
get.pedigree2(ex_pop, gen=2)
[Package MoBPS version 1.6.64 Index]