rel_nason: This estimates the Fij statistic from Nason allele-wise or...

Description Usage Arguments Value Note Author(s)

View source: R/rel_nason.R

Description

This function estimates the allele-wise coancestry statistic fij from Nason. It can be used as a single locus or multilocus estimator if you provide the correct standardizations.

Usage

1
rel_nason(x, allele = NA, as.relatedness = FALSE)

Arguments

x

A vector of loci to use.

allele

The allele to estimate. If this is left blank, a locus-wide estimator is provided. That is the average of the allele-wise estimators standardized by the polymorphic index, Pe().

as.relatedness

Return r instead of Fij (default=FALSE)

Value

A matrix of pairwise values for either the allele or for the full locus.

Note

This estimator will use missing data but it treats it as if the frequency for each allele at an individual locus are equal to the population allele frequencies. This may influence your estimators.

Author(s)

Rodney J. Dyer <rjdyer@vcu.edu>


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