R/RcppExports.R
count_haplotype_occurrences_pedigree.RdCounts the number of types haplotype appears in pedigree.
count_haplotype_occurrences_pedigree(
pedigree,
haplotype,
generation_upper_bound_in_result = -1L
)Pedigree to count occurrences in.
Haplotype to count occurrences of.
Only consider matches in generation 0, 1, ... generation_upper_bound_in_result. -1 means disabled, consider all generations. End generation is generation 0. Second last generation is 1. And so on.
Number of times that haplotype occurred in pedigree.