Description Usage Arguments Value
View source: R/offspring_generation.r
Returns a pair of haplotypes. A first haplotype is uniformly selected, and then a second is sampled with higher probability assigned to similar haplotypes.
1 | find_mate_pair(scores, beta = 1)
|
scores: |
A vector of the lenght of the parent population. Gives the score for for each parent, such as the inner product with the 1st PC. |
a vector of length two giving the selected parents.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.