get_haplotypes_individuals | R Documentation |
Requires that haplotypes are first populated, e.g.
with pedigrees_all_populate_haplotypes()
,
pedigrees_all_populate_haplotypes_custom_founders()
, or
pedigrees_all_populate_haplotypes_ladder_bounded()
.
get_haplotypes_individuals(individuals)
individuals |
Individuals to get haplotypes for. |
Matrix of haplotypes where row i
is the haplotype of individuals[[i]]
.
get_haplotypes_pids()
.
sim <- sample_geneology(100, 10)
peds <- build_pedigrees(sim$population)
pedigrees_all_populate_haplotypes(peds, 2, c(1, 1))
get_haplotypes_individuals(sim$end_generation_individuals)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.