split_by_haplotypes {malan} | R Documentation |
Split pids by haplotype
Description
Individuals with the same haplotype will be in the same group and individuals with different haplotypes will be in different groups.
Usage
split_by_haplotypes(population, pids)
Arguments
population |
Population obtained from simulation |
pids |
Vector of individual pids |
Value
List of integer vector, element i is an IntegerVector
with all pids from pids
with the same haplotype
[Package malan version 1.0.3 Index]