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 | Pedigree to count occurrences in. |
|---|---|
| haplotype | Haplotype to count occurrences of. |
| generation_upper_bound_in_result | 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.