View source: R/profile_AA_x0.R
Function that compute the genotype probability for each population (rows in df)
1 2 | profile_AA_x0(AA_profile, df, select = c("locus", "x0"),
keep_dropped = FALSE)
|
AA_profile |
A tibble/data.frame with columns 'locus', 'A1' and 'A2' holding the separated version of a genotype, eg. AG -> A1: A, A2: G |
df |
The database with main alleles per locus |
select |
Which columns to return |
keep_dropped |
Logical. Keep the non-matching alleles (compared to 'db') and those with genotype 'NN' |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.