pops_to_DB: 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 simulate_pops().
If db contains information (recommended!) about "meta" (meta population)
and "lat"/"lon" (location) these are carried over into the calculations
...
Additional arguments passed to score_add_df
Value
A tibble with population and locus specific score information