rel_queller | R Documentation |
This function estimates the allele-wise relatedness statistic from Queller & Goodnight (1989).
This is an asymmetric estimator using the formula:
r_{XY} = \frac{\sum_{i=1}^L(\delta_{ac} + \delta_{ad} + \delta_{bd} + \delta_{bd} -p_a - p_b - p_c - p_d) }{\sum_{i=1}^L (2 + \delta_{ab} + \delta_{cd} - p_a - p_b - p_c - p_d)}
rel_queller(x)
x |
A |
A matrix of pairwise relatedness values.
For missing data and for data comparing heterozygotes at a 2-allele locus this estimator is undefined. Moreover, I do add zero to both the numerator
Rodney J. dyer <rjdyer@vcu.edu>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.