View source: R/sim_find_num_crossovers.R
sim_find_num_crossovers | R Documentation |
This function uses a poisson distribution with mean equal to recomb_lambda
to randomly generate the number of crossovers
for each gamete for num_gametes
gametes
sim_find_num_crossovers(num_gametes, recomb_lambda)
num_gametes |
an integer, the number of gametes for which to generate a number of crossovers |
recomb_lambda |
a numeric, the average recombination rate, used as the mean for the poisson distribution |
num_recomb_sites a vector of length num_gametes
containing integers for the number of crossovers for each gamete
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.