mutation: Mutation function

Description Usage Arguments Details Value See Also

View source: R/glads_funcs.R

Description

This function introduces mutations on biallelic genetic structures.

Usage

1
mutation(G, mutation.rate)

Arguments

G

An object of class "struct" with the genetic structure of individuals before gametogenesis.

mutation.rate

Mutation rate of biallelic loci

Details

This function is used internally in the function newborns() in order to introduce mutations on biallelic genetic structures before meiosis. The genotypes are introduced as an array of integers defining the copy of a given allele at a given locus. Rows represent individuals and columns the different loci.

Value

An object of class "struct" or an array.

See Also

evolve newborns


eriqande/glads documentation built on April 24, 2020, 11:53 a.m.