This function creates an inheritance cube to model a MEDEA drive system. This system was first discovered in flour beetles. It biases inheritance by expressing a maternal toxin such that offspring die unless they express a zygotic antidote. This drive has 3 alleles at 1 locus:
W: Wild-type allele
M: MEDEA allele
R: Resistance allele
cubeMEDEA(
rM = 0,
rW = 0,
Teff = 1,
eta = NULL,
phi = NULL,
omega = NULL,
xiF = NULL,
xiM = NULL,
s = NULL
)
Breakdown of MEDEA allele, no homing/toxin/antidote, M -> R conversion
De novo resistance generation, W -> R conversion
Efficacy of the toxin
Genotype-specific mating fitness
Genotype-specific sex ratio at emergence
Genotype-specific multiplicative modifier of adult mortality
Genotype-specific female pupatory success
Genotype-specific male pupatory success
Genotype-specific fractional reduction(increase) in fertility
Named list containing the inheritance cube, transition matrix, genotypes, wild-type allele, and all genotype-specific parameters.