inbreeding: Inbreeding coefficients from a pedigree...

Description Usage Arguments Details Value Source References Examples

Description

Inbreeding coefficients from a pedigree

Usage

1

Arguments

ped

an object that inherits from class pedigree

Details

Determine the inbreeding coefficients for all the individuals of a pedigree. This function a numeric vector.

Value

a numeric vector

Source

Sargolzaei, M. and H. Iwaisaki, 2005. Comparison of four direct algorithms for computing the inbreeding coefficients. J. Anim. Sci, 76: 401-406.

References

2010. A.I. Vazquez, D.M. Bates, G.J.M. Rosa, D. Gianola and K.A. Weigel. Technical Note: An R package for fitting generalized linear mixed models in animal breeding. Journal of Animal Science, 88:497-504.

Examples

1
2
3
ped <- pedigree(sire = c(NA,NA,1, 1,4,5),
                dam  = c(NA,NA,2,NA,3,2), label= 1:6)
inbreeding(ped)

Example output

Loading required package: lme4
Loading required package: Matrix
[1] 0.000 0.000 0.000 0.000 0.125 0.125

pedigreemm documentation built on May 2, 2019, 5:19 p.m.