Description Usage Arguments Value Examples
Simulate the transmission of alleles using the presence absence 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 simulatin the whole data set each pair should be run separately as to not use the same bottleneck
1 |
data |
a data frame with with chr,pos,freq1, and pair_id columns |
lambda |
The lambda of the zero truncated Poisson |
data frame the same as data but with a simulated found column
1 | pa_sim(small_trans,1.3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.