Populate 1-locus autosomal DNA profile from founder and down in all pedigrees. Note, that only alleles from ladder is assigned and that all founders draw type randomly.

pedigrees_all_populate_autosomal(
  pedigrees,
  allele_dist,
  theta,
  mutation_rate,
  progress = TRUE
)

Arguments

pedigrees

Pedigree list in which to populate genotypes

allele_dist

Allele distribution (probabilities) -- gets normalised

theta

Theta correction between 0 and 1 (both included)

mutation_rate

Mutation rate between 0 and 1 (both included)

progress

Show progress

Details

Note, that pedigrees must first have been inferred by build_pedigrees().