pedigree_haplotype_near_matches_meiosis: Information about almost matching individuals

Description Usage Arguments Value See Also

View source: R/RcppExports.R

Description

Gives information about all individuals in pedigree that almost matches an individual. Just as count_haplotype_near_matches_individuals() counts the number of occurrences amongst a list of individuals, this gives detailed information about almost matching individuals in the pedigree: for now, the meiotic distances.

Usage

1
2
3
4
5
pedigree_haplotype_near_matches_meiosis(
  suspect,
  max_dist,
  generation_upper_bound_in_result = -1L
)

Arguments

suspect

Individual that others must match the profile of.

max_dist

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

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

Matrix with information about matching individuals. Columns in order: 1) meioses (meiotic distance to suspect), 2) haplotype distance, 3) pid (pid of matching individual)

See Also

count_haplotype_near_matches_individuals().


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