fusFs: Fu's Fs

View source: R/fusFs.R

fusFsR Documentation

Fu's Fs

Description

Calculate Fu's Fs for a set of sequences to test for selection.

Usage

fusFs(x)

Arguments

x

set of DNA sequences or a haploid gtypes object with sequences.

Note

Currently, this function is limited to calculating Fs for fewer than approximately 172 sequences due to numerical overflow issues. NaN will be returned for larger data sets. Statistical significance (p-values) of Fs must be calculated with case-specific simulations.

Author(s)

Eric Archer eric.archer@noaa.gov

References

Fu, Y-X. 1997. Statistical tests of neutrality of mutations against population growth, hitchiking and background selection. Genetics 147:915-925.

Examples

data(dolph.seqs)

fusFs(dolph.seqs)


EricArcher/strataG documentation built on Feb. 12, 2023, 4:11 a.m.