relationsMeanVar: Mean and Variance information for full-sibs, half-sibs,...

relationsMeanVarR Documentation

Mean and Variance information for full-sibs, half-sibs, first-cousins

Description

Computes theoretical mean and covariance matrix for k0 vs. k1 ibd coefficients for full-sib relationship along with inverse and eigenvalues/vectors of the covariance matrix.

Computes theoretical means and variances for half-sib relationship and for first-cousin relationship.

Usage

relationsMeanVar

Format

A list with the following entries:

FullSibs

list with following entries:

  • mean: mean of (k0,k1) for full-sibs

  • cov: covariance matrix for full-sibs

  • invCov: inverse of the covariance matrix

  • eigvals: eigenvalues of the inverse covariance matrix

  • eigvectors: eigenvectors of the inverse covariance matrix

HalfSibs

list with following entries:

  • mean: mean of (k0,k1) for half-sibs

  • var: variance for half-sibs

FirstCousins

list with following entries:

  • mean: mean of (k0,k1) for first-cousins

  • var: variance for first-cousin

Source

computed by Cecelia Laurie using the referenced papers

References

Hill, W.G. and B.S. Weir (2011) Variation in actual relationship as a consequence of Mendelian sampling and linkage,Genet. Res., Camb., 93, 47–64.

Kong, X., et al (2004) A combined physical-linkage map of the human genome, American Journal of Human Genetics, 75, 1143–1148.

Examples

data(relationsMeanVar)
FS<-relationsMeanVar$FullSibs
FScov<-FS$cov   #gives covariance matrix for full-sibs
HS<-relationsMeanVar$HalfSibs
HSvar<-HS$var  #gives variance for half-sibs

smgogarten/GWASTools documentation built on Nov. 10, 2024, 9:54 p.m.