Learn R Programming

Ease (version 0.1.2)

Selection-class: Selection class

Description

Class used to generate objects that manage the selection in the simulations.

Arguments

Slots

genome

a Genome object

IDhaplotypes

IDs of haplotypes

IDgenotypes

IDs of genotypes

IDgenome

ID of the associated genome

nbHaplo

the number of haplotypes

nbGeno

the number of genotypes

gamFit

the list of gametes' fitness

indFit

the list of individuals' fitness

gamProdFit

the list of gamete production fitness

sOnInds

a logical indicating whether a selection on individuals has been configured by the user

sOnGams

a logical indicating whether a selection on gametes has been configured by the user

sOnGamsProd

a logical indicating whether a selection on gamete production has been configured by the user

Author

Ehouarn Le Faou

Details

An object of type Selection is an object which describes the set of fitnesses which will be taken into account in the simulations. The selection according to these fitnesses can be applied at three levels: at the level of the individual, at the level of the production of gametes and at the level of the gametes themselves. Selection is therefore genotypic in the first two cases (each genotype is associated with a fitness value) and haplotypic in the third (each haplotype is associated with a fitness value).