simstat_once | R Documentation |
Simulate admixture mapping test statistics (one time) from their joint asymptotic distribution under the null (see Grinde et al., 2018).
simstat_once(m, K, as, bs, L)
m |
the number of markers. |
K |
the number of ancestral populations |
as |
vector of scalars (length m) based on generations since admixture and distance between markers. |
bs |
vector of scalars (length m) based on generations since admixture and distance between markers. |
L |
matrix (K x K-1) that is square root of correlation matrix at single locus |
A single nummber indicating the largest simulated test statistic.
simstat_once(m = 2, K = 2, as = example_ab$a, bs = example_ab$b, L = example_L)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.