relationsMeanVar | R Documentation |
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.
relationsMeanVar
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
computed by Cecelia Laurie using the referenced papers
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.
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.