editCsdLocus {SIMplyBee} | R Documentation |
Edit the csd locus
Description
Edits the csd locus in an entire population of individuals to ensure heterozygosity. The user can provide a list of csd alleles for each individual or, alternatively, the function samples a heterozygous genotype for each individual from all possible csd alleles. The gv slot is recalculated to reflect the any changes due to editing, but other slots remain the same.
Usage
editCsdLocus(pop, alleles = NULL, simParamBee = NULL)
Arguments
pop |
|
alleles |
|
simParamBee |
global simulation parameters. |
Value
Returns an object of Pop-class