Description Usage Arguments Value
Helper function to simulate beta binomial data. This takes in one loci. the data frame should have 2 rows (one for each allele.) Essentially this takes the frequency of the variant allele, and bottleneck size and simulates the found column.
1 | betabin_sim_helper(data, Nb, threshold, acc)
|
data |
a data frame with with freq1 and pair_id columns and 2 rows |
Nb |
the bottleneck size |
threshold |
limit of variant calling detection |
acc |
a data frame with accuracy metrics |
data frame the same as data but with a simulated found column
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.