Level 1 function that produces diploid offspring from a mated queen. Drones are haploid, while the queen is diploid, so we first generate gametes (with recombination) from her and merge them with drone genomes (=gametes), where we randomly re-sample drones to get the desired number of progeny. This is an utility function, and you most likely want to use the cross function.

combineBeeGametesHaploDiploid(queen, drones, nProgeny = 1, simParamBee = NULL)

Arguments

queen

Pop-class, with a single diploid individual

drones

Pop-class, with one or more haploid individual(s)

nProgeny

integer, number of progeny to create per cross

simParamBee

SimParamBee, global simulation parameters

Value

Pop-class with diploid individuals

Details

This would be the right approach to handle haplo-diploid inheritance in bees, but it causes a raft of downstream issues, since AlphaSimR assumes that individuals have the same ploidy. Hence, we don't use this function.