Description Usage Arguments Value Examples
Calculate expected correlation in local ancestry components at a pair of loci, based on Lemma 1 in Grinde et al. (TBD).
1 | exp_corr(theta, g, props, k1, k2)
|
theta |
recombination fraction between pair of loci |
g |
generations since admixture |
props |
data frame (n x K) of admixture proportions |
k1, k2 |
component indices |
A single number indicating the correlation of local ancestry.
1 2 | exp_corr(theta = 0.2, g = 6, props = example_props, k1 = 1, k2 = 1)
exp_corr(theta = 0.2, g = 6, props = example_props, k1 = 1, k2 = 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.