pops_to_DB {genogeographer} | R Documentation |
Pre-compute the scores for a given reference database
Description
Convert the counts from each population over a range of AIMs SNPs q
to observed likelihood ratio test, its mean and variance.
Based on these pre-computed the evaluation of a specific profile is done
using genogeo
with the resulting dataframe as df
.
Usage
pops_to_DB(db, ...)
Arguments
db |
A dataframe with columns similar to those of |
... |
Additional arguments passed to |
Value
A tibble with population and locus specific score information
Examples
df_ <- simulate_pops(pop_n = 4, aims_n = 50)
df_db <- pops_to_DB(df_)
[Package genogeographer version 0.1.19 Index]