get_haplotypes_pids(population, pids)

Arguments

population

Population

pids

Vector of pids to get haplotypes for.

Value

Matrix of haplotypes where row i is the haplotype of individuals[[i]].