View source: R/PopulationImprov.R
pedigreeToCCmatrix | R Documentation |
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)
threeColPed |
The pedigree matrix |
Uses the breedingPop data in bsd
Matrix with coefficients of coancestry
ccMat <- pedigreeToCCmatrix(threeColPed)]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.