R/RcppExports.R
count_haplotype_occurrences_individuals.RdCounts the number of types haplotype appears in individuals.
count_haplotype_occurrences_individuals(individuals, haplotype)List of individuals to count occurrences in.
Haplotype to count occurrences of.
Number of times that haplotype occurred amongst individuals.
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))
#> [1] 100