new.base.generation: Set new base generation

View source: R/new.base.generation.R

new.base.generationR Documentation

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
)

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

Value

Population-List with mutated marker for the selected individual

Examples

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

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