Description Usage Arguments Value
Helper function to simulate presence absence data. This takes in one loci. the data frame should have 2 rows (one for each allele.) 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.
1 | pa_sim_helper(data, Nb)
|
data |
a data frame with with freq1 and pair_id columns and 2 rows |
Nb |
the bottleneck size |
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.