performMating: Mate a population of males to a population of females.

Description Usage Arguments

View source: R/bulkPopSim.R

Description

Mate a population of males to a population of females.

Usage

1
2
performMating(males, females, genome, offPerMating, ncores = 1,
  Nrecombs = 1, incompatibility = NULL)

Arguments

males

a list of male individuals

females

a list of female individuals

genome

A genome object generated with the package

offPerMating

how many offspring does each female generate

ncores

Number of cores to be used. If more than one core is specified, a cluster object will be created and used.

Nrecombs

the number of recombinations per chromosome per cross (defaults to 1)

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.


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