Description Usage Arguments Value
Individuals with the same haplotype will be in the same group and individuals with different haplotypes will be in different groups.
1 | split_by_haplotypes(population, pids)
|
population |
Population obtained from simulation |
pids |
Vector of individual pids |
List of integer vector, element i is an IntegerVector
with all pids from pids
with the same haplotype
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.