All possible gamete can be generated and store in a matrix. This function return the content of the line "index" of this matrix.
1 | get.gamete.from.index(gamete.index, nb.alleles)
|
gamete.index |
The index of the gamete we want to generate |
nb.alleles |
A vector containing the number of allele for each locus |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.