pedigreeToCCmatrix: pedigreeToCCmatrix function

View source: R/PopulationImprov.R

pedigreeToCCmatrixR Documentation

pedigreeToCCmatrix function

Description

Function to calculate a coefficient of coancestry matrix from a three- column pedigree matrix: The first column has to be the row number Sire and dam columns refer directly to rows Unknown parents need to be set to 0 (zero)

Usage

pedigreeToCCmatrix(threeColPed)

Arguments

threeColPed

The pedigree matrix

Details

Uses the breedingPop data in bsd

Value

Matrix with coefficients of coancestry

Examples

ccMat <- pedigreeToCCmatrix(threeColPed)]


jeanlucj/BreedSimCost documentation built on July 21, 2023, 1:59 a.m.