selfHermaphrodite: Perform a selfing Hasn't been thoroughly tested, basically...

Description Usage Arguments

View source: R/IndividualFunctions.R

Description

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

Usage

1
2
selfHermaphrodite(parent, genome, incompatibility = NULL, sex = "female",
  Nrecombs = 1)

Arguments

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


eyalbenda/bulkPop documentation built on May 17, 2019, 11:14 p.m.