count_haplotype_occurrences_pedigree: Count haplotypes occurrences in pedigree

Description Usage Arguments Value See Also

View source: R/RcppExports.R

Description

Counts the number of types haplotype appears in pedigree.

Usage

1
2
3
4
5
count_haplotype_occurrences_pedigree(
  pedigree,
  haplotype,
  generation_upper_bound_in_result = -1L
)

Arguments

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.

Value

Number of times that haplotype occurred in pedigree.

See Also

pedigree_haplotype_matches_in_pedigree_meiosis_L1_dists().


malan documentation built on July 2, 2020, 3:01 a.m.