View source: R/IndividualFunctions.R
Perform a selfing Hasn't been thoroughly tested, basically generates a male version of the same individuals (with random haplotype chosen to be shortened) and crosses them
1 2 | selfHermaphrodite(parent, genome, incompatibility = NULL, sex = "female",
Nrecombs = 1)
|
parent |
the individual to self |
genome |
a genome object. Corresponds to the individual |
incompatibility |
a list of incompatibilities. Each incompatibility is a list with two elements: params and func. The func is the function that tests the recombined parents and the offspring and determines if it's dead or not. See the functions zeelPeelSelection and medeaSelection for example of functions included in the package. |
sex |
the sex of the offspring |
Nrecombs |
number of recombinations per chromosome |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.