Counts the number of types close to haplotype in individuals.

count_haplotype_near_matches_individuals(individuals, haplotype, max_dist)

Arguments

individuals

List of individuals to count occurrences in.

haplotype

Haplotype to count near-matches occurrences of.

max_dist

Maximum distance (0 = match, 1 = 1 STR allele difference, ...)

Value

Number of times that a haplotype within a radius of max_dist of haplotype occurred amongst individuals.