By using hashmap made by build_haplotype_hashmap(), it is easy to get all individuals with a certain haplotype id.

get_matching_pids_from_hashmap(hashmap, haplotype)

Arguments

hashmap

Hashmap to make lookup in, made by build_haplotype_hashmap()

haplotype

to get individuals that has this haplotype id

Value

List of individuals with a given haplotype id