Description Usage Arguments Value References Examples
Returns the (|L| choose 2) + (|R| choose 2) value for each SNP location supplied to the function. |L|
and |R|
are the number of SNPs to the left and right of the current locus within the given window ws
.
For more information about the L_plus_R
diversity statistic, please see Jacobs (2016).
1 |
pos |
A numeric vector of SNP locations |
ws |
The window size which the |
X |
Optional. Specify a region of the chromosome to calculate |
A list containing the SNP positions and the L_plus_R
values for those SNPs
Jacobs, G.S., T.J. Sluckin, and T. Kivisild, Refining the Use of Linkage Disequilibrium as a Robust Signature of Selective Sweeps. Genetics, 2016. 203(4): p. 1807
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.