| meanKinship | R Documentation |
Part of Genetic Value Analysis
meanKinship(kmat)
kmat |
a numeric matrix of pairwise kinship coefficients. Animal IDs are the row and column names. |
The mean kinship of animal i is
MK_i = \Sigma f_ij / N
, in which the summation is over all animals, j, including the kinship of animal i to itself.
A named numeric vector of average kinship coefficients for each animal ID. Elements are named with the IDs from the columns of kmat.
Ballou JD, Lacy RC. 1995. Identifying genetically important individuals for management of genetic variation in pedigreed populations, p 77-111. In: Ballou JD, Gilpin M, Foose TJ, editors. Population management for survival and recovery. New York (NY): Columbia University Press.
library(nprcgenekeepr)
ped <- nprcgenekeepr::qcPed
kmat <- kinship(ped$id, ped$sire, ped$dam, ped$gen)
head(meanKinship(kmat))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.