Learn R Programming

MoBPS (version 1.13.1)

new.base.generation: Set new base generation

Description

Function to set a new base generation for the population

Usage

new.base.generation(
  population,
  base.gen = NULL,
  base.database = NULL,
  base.cohorts = NULL,
  delete.previous.gen = FALSE,
  delete.breeding.totals = FALSE,
  delete.bve.data = FALSE,
  add.chromosome.ends = TRUE,
  founder.pool = 1
)

Value

Population-List with mutated marker for the selected individual

Arguments

population

Population list

base.gen

Vector containing all new base generations

base.database

Matrix containing all database entries to be used as new base generation

base.cohorts

Vector containing all cohorts to be used as new base generations

delete.previous.gen

Delete all data before base.gen (default: FALSE)

delete.breeding.totals

Delete all breeding totals before base.gen (default: FALSE)

delete.bve.data

Delete all previous bve data (default: FALSE)

add.chromosome.ends

Add chromosome ends as recombination points

founder.pool

AAA

Examples

Run this code
data(ex_pop)
ex_pop <- new.base.generation(ex_pop, base.gen=2)

Run the code above in your browser using DataLab