rel_queller: This estimates the Queller & Goodnight (1989)

Description Usage Arguments Value Note Author(s)

View source: R/rel_queller.R

Description

This function estimates the allele-wise relatedness statistic from Queller & Goodnight (1989).

This is an asymmetric estimator using the formula:

r_{XY} = \frac{∑_{i=1}^L(δ_{ac} + δ_{ad} + δ_{bd} + δ_{bd} -p_a - p_b - p_c - p_d) }{∑_{i=1}^L (2 + δ_{ab} + δ_{cd} - p_a - p_b - p_c - p_d)}

Usage

1

Arguments

x

A data.frame or vector that has locus objects in it. If you pass it a data.frame it will return the multilocus relatedness.

Value

A matrix of pairwise relatedness values.

Note

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

Author(s)

Rodney J. dyer <rjdyer@vcu.edu>


MarianaLag/Mlag documentation built on Feb. 13, 2020, 12:30 a.m.