Description Usage Arguments Value Examples
Simulate the transmission of alleles using the betabinomial model. Essentially this takes the frequency of the variant allele, and bottleneck size and simulates the found column. It also selects a bottleneck size based on lambda and a zero truncated Poisson. If simulation the whole data set each pair should be run separately as to not use the same bottleneck
1 | betabin_sim(data, lambda, threshold, acc = accuracy_stringent)
|
data |
a data frame with with chr,pos,freq1, and pair_id columns |
lambda |
The lambda of the zero truncated Poisson |
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
1 | betabin_sim(small_trans,1.2,0.02,accuracy_stringent)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.