add.founder.kinship {MoBPS} | R Documentation |
Add a relationship matrix for founder individuals
Description
Function to relationship matrix for founder individuals that is used for any calculation of the pedigree
Usage
add.founder.kinship(population, founder.kinship = "vanRaden", gen = 1)
Arguments
population |
population list |
founder.kinship |
Default is to use vanRaden relationship. Alternative is to enter a pedigree-matrix (order of individuals is first male then female) |
gen |
Generation for which to enter the pedigree-matrix |
Value
Population list
Examples
data(ex_pop)
population <- add.founder.kinship(ex_pop)
[Package MoBPS version 1.6.64 Index]