Population-class {Ease}R Documentation

Population

Description

The Population class allows for the collection of the parameters necessary to characterise a biological population. It is an essentially useful class in that no method associated with the population class can simulate its dynamics. To do this, it is necessary to use the Metapopulation class, which takes as input a list of populations (from one). The Population class is also used to check that each of these parameters is compatible with each other.

Details

Thus to build an object of class Ease, it is necessary to have defined an object Genome, as well as an object MutationMatrix and an object Selection (even if it is neutral, see setSelectNeutral).

Slots

name

the name of the population.

size

the size of the population.

dioecy

logical indicating whether the population is dioecious or not (hermaphrodite).

selfRate

the selfing rate of the population

demography

logical indicating whether the population has stochastic demography (this does not include migration), i.e. non-constant size and potentially population growth or decay, depending on the situation it is in.

growthRate

growth rate of the population.

initGenoFreq

A row matrix of the size of the genotype number describing the initial allele frequencies common to all simulations

genome

a Genome object

initPopSize

initial population size, knowing that if the demography is extinct, the initial population size will automatically be set equal to the population size.

selection

a Selection object

mutMat

a MutationMatrix object

Author(s)

Ehouarn Le Faou


[Package Ease version 0.1.2 Index]