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)

pedigreeToCCmatrix(threeColPed)

Arguments

threeColPed

The pedigree matrix

Value

Matrix with coefficients of coancestry

Details

Uses the breedingPop data in bsd

Examples