Learn R Programming

MoBPS (version 1.13.1)

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 = "GBLUP", gen = 1)

Value

Population list

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

Examples

Run this code
data(ex_pop)
population <- add.founder.kinship(ex_pop)

Run the code above in your browser using DataLab