Description Usage Arguments Value
This is the internal Rcpp function that will be called once for each window.
1 | apwnd_window_internal(x, a, b)
|
x |
an 0,1,2,-1 integer matrix |
a |
the lowest (base-1) index of the SNPs in the window |
b |
the highest (base-1) index of the SNPs in the window |
This returns a list of vectors. First vector is the average pairwise nucleotide difference for each pair of individuals. Second vector is the fraction of sites missing in the pair.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.