Data frame containing the Pedigree. The data frame has columns (1) Individual, (2) Sire, (3) Dam. Missing parents are coded as NA. Both parents must either be missing or present. If this is not the case use prePed.
keep
If keep is provided then kinships are computed only for these animals and their ancestors.
keep.only
If keep.only is provided then kinships are computed only for these animals.
AFounder
Additive relationship matrix of the founders. The row names are the ids of the founders. By default, founders are assumed to be unrelated. Founders not included in this matrix are also assumed to be unrelated.
Author
Robin Wellmann
Details
Computation of pedigree based additive relationship matrix A which is twice the kinship matrix. For individuals i and j it is defined as
Aij = 2*(Probability that two alleles chosen from individuals i and j are IBD).