mutation.intro: Mutation intro

View source: R/mutation.intro.R

mutation.introR Documentation

Mutation intro

Description

Function to change the base-pair in a specific loci

Usage

mutation.intro(
  population,
  gen = NULL,
  database = NULL,
  cohorts = NULL,
  qtl.posi,
  target.variant = NULL,
  haplo.set = 1
)

Arguments

population

Population list

gen

Quick-insert for database (vector of all generations to export)

database

Groups of individuals to consider for the export

cohorts

Quick-insert for database (vector of names of cohorts to export)

qtl.posi

Marker number to mutate

target.variant

target variant to obtain (( if haplotype already is correct do not introduce a mutation ))

haplo.set

Select chromosome set (default: 1 , alt: 2, 1:2 (to edit both))

Value

Population-List with mutated marker for the selected individual

Examples

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

MoBPS documentation built on Nov. 5, 2025, 6:26 p.m.

Related to mutation.intro in MoBPS...