initialize,Population-method {Ease}R Documentation

Initialize method for the Population class

Description

Initialize method for the Population class

Usage

## S4 method for signature 'Population'
initialize(
  .Object,
  name,
  size,
  dioecy,
  selfRate,
  demography,
  growthRate,
  initGenoFreq,
  genomeObj,
  initPopSize,
  selectionObj,
  mutMatrixObj
)

Arguments

.Object

a Population object

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

genomeObj

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.

selectionObj

a Selection object

mutMatrixObj

a MutationMatrix object

Value

a Population object

Author(s)

Ehouarn Le Faou


[Package Ease version 0.1.2 Index]