mutation.intro {MoBPS}R Documentation

Mutation intro

Description

Function to change the base-pair in a specific loci

Usage

mutation.intro(population, gen, sex, individual.nr, qtl.posi, haplo.set = 1)

Arguments

population

Population list

gen

Generation of the individual to introduce a mutation in

sex

Sex of the individual to introduce a mutation in

individual.nr

Individual Nr. of the individual to introduce a mutation in

qtl.posi

Marker number to mutate

haplo.set

Select chromosome set (default: 1 , alt: 2)

Value

Population-List with mutated marker for the selected individual

Examples

data(ex_pop)
ex_pop <- mutation.intro(ex_pop, 1,1,1, qtl.posi=100)

[Package MoBPS version 1.6.64 Index]