random_mating: Sexual recombination that occurs freely with potential...

View source: R/random_mating.R

random_matingR Documentation

Sexual recombination that occurs freely with potential linkage disequilibrium

Description

Provides offspring bi-allele multi-locus frequencies under the assumption of panmixia, where female / male fitness can be different and selection can build linkage disequilibrium

Usage

random_mating(ffset, fmset, resistant_alleles)

Details

@param ffset A vector with the frequency of all female genotypes @param fmset A vector with the frequency of all male genotypes @param resistant_alleles A matrix that encodes the properties of the resistant alleles, as one allele per row

@return A vector with the frequency of all genotypes @export @examples


rkanitz/Madgwick-Kanitz-detsims documentation built on April 27, 2023, 2:55 p.m.