How the alleles a parent passes on are put together:
Value
An evomod_recombination object, resolved for the number of loci
by evomod_model().
Details
free_recombination()(the default): every locus is inherited independently.genetic_map(): loci are placed in order, evenly spaced, onchromosomeschromosomes of equal length (length, in Morgans; loci1..kon the first chromosome, and so on). Recombination fractions between neighbouring loci follow Haldane's map function, \(r = (1 - e^{-2d}) / 2\) for a distance \(d\); loci on different chromosomes recombine with probability 1/2.linkage(): explicit recombination fractions between neighbouring loci, a vector of lengthloci - 1(0.5 for unlinked loci).
Columns 2l - 1 and 2l of a genome are the paternal and maternal
haplotypes at locus l; a gamete starts on a random haplotype and switches
at each crossover.
Examples
genetic_map(chromosomes = 2, length = 0.5)
#> <evomod recombination> 2 chromosome(s) of 0.5 Morgans
linkage(c(0.01, 0.5, 0.01))
#> <evomod recombination> recombination fractions for 4 loci