Description Usage Arguments Details Value Note Author(s)
This function estimates the allele-wise relatedness statistic from Lynch & Ritland (1999). It is very sensitive to the presence of rare alleles.
This is an symmetric estimator using the formula:
1 | rel_lynch(x)
|
x |
A |
\hat{r}_{XY} = \frac{r_{XY} + r_{YX}}{2}
where
r_{XY} = \frac{1}{∑_{i=1}^L w_i} ∑_{i=1}^L \frac{p_a(δ_{bc}+δ_{bd}) + p_b(δ_{ac} + δ_{ad}) - 4p_a p_b}{2p_a p_b}
and
w_i = \frac{((1+δ_{ab})(p_a+p_b) - 4*p_a p_b)}{2p_a p_b}
For missing genotypes, relatedness is not estimated for any pair-wise comparison. This does not constitute an error, specifically, but you should be careful of noting which comparisons are made from no or at least fewer than the full set of loci.
A matrix of pairwise values
For missing data and for data comparing heterozygotes at a 2-allele locus this estimator is undefined.
Rodney J. dyer <rjdyer@vcu.edu>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.