Description Usage Arguments Value
Computes the frequency increment test (FIT) from Feder, A. F., Kryazhimskiy, S., & Plotkin, J. B. (2014). Identifying signatures of selection in genetic time series. Genetics, 196(2), 509-522. <https://doi.org/10.1534/genetics.113.158220>. The frequency increment test (FIT) rejects neutrality if the distribution of normalized variant frequency increments exhibits a mean that deviates significantly from zero.
1 |
time |
an integer vector of time coordinates for the time-series |
v |
an integer vector of variant frequencies, i.e. counts of this variant at each time coordinate |
alternative |
a character string specifying the alternative hypothesis, must be one of "two.sided" (default), "greater" or "less". You can specify just the initial letter. |
A two-column data frame with the FIT statistic and its p-value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.