Description Usage Arguments Value Examples
Computes the likelihood ratio test statistics for each population in a database of reference populations.
1 2 |
profile |
The AIMs profile encoded as returned by the |
df |
The database of reference populations as returned by the |
CI |
The confidence level used to reject or accept the various hypotheses (between 0 and 1). |
min_n |
Minimum number of individuals in each database sample |
grouping |
should |
tilt |
Should exponential titling be used to obtain more accurate $p$-values in the distribution's tail (currently not implemented) |
... |
Further arguments that are passed to other functions |
A tibble containing the $z$-scores, $p$-values etc for each population.
1 2 3 4 5 | df_ <- simulate_pops(pop_n = 20, aims_n = 50)
df_db <- pops_to_DB(df_)
profile <- random_AIMs_profile(df_db, keep_pop = TRUE)
profile$pop[1] # The true population
result <- genogeo(profile[,c("locus","x0")], df = df_db)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.