selectInputTreatment {Ease}R Documentation

Treatment of selection formulas

Description

Determines whether an entry for the selection is a list of selection formulas or just a vector. If it is a list of formulas, turns them into a vector. If it is a vector, does nothing.

Usage

selectInputTreatment(selectInput, genomeObj, haplo = FALSE)

Arguments

selectInput

a selection input

genomeObj

a Genome object

haplo

logical indicating whether the selection should apply to haplotypes (in the case of gametic selection for example)

Value

a vector of fitness values

Author(s)

Ehouarn Le Faou


[Package Ease version 0.1.2 Index]