Learn R Programming

MoBPS (version 1.6.64)

add.founder.kinship: 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

Run this code
# NOT RUN {
data(ex_pop)
population <- add.founder.kinship(ex_pop)
# }

Run the code above in your browser using DataLab