count_haplotype_occurrences_individuals: Count haplotypes occurrences in list of individuals

Description Usage Arguments Value See Also Examples

View source: R/RcppExports.R

Description

Counts the number of types haplotype appears in individuals.

Usage

1

Arguments

individuals

List of individuals to count occurrences in.

haplotype

Haplotype to count occurrences of.

Value

Number of times that haplotype occurred amongst individuals.

See Also

pedigree_haplotype_matches_in_pedigree_meiosis_L1_dists(), count_haplotype_near_matches_individuals().

Examples

1
2
3
4
sim <- sample_geneology(100, 10)
peds <- build_pedigrees(sim$population)
pedigrees_all_populate_haplotypes(peds, 2, c(0, 0))
count_haplotype_occurrences_individuals(sim$end_generation_individuals, c(0, 0))

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