Learn R Programming

MoBPS (version 1.13.1)

recalculate.manual: Recalculate genomic values

Description

Function to recalculate genomic values

Usage

recalculate.manual(
  population,
  gen = NULL,
  database = NULL,
  cohorts = NULL,
  e0 = NULL,
  e1 = NULL,
  e2 = NULL,
  store.comp.times = TRUE
)

Value

Population list

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)

e0

Effect matrix for 0 genotype (default: Will be automatically extracted)

e1

Effect matrix for 1 genotype (default: Will be automatically extracted)

e2

Effect matrix for 2 genotype (default: Will be automatically extracted)

store.comp.times

If TRUE store computation times in $info$comp.times.general (default: TRUE)

Examples

Run this code
data(ex_pop)
population <- recalculate.manual(ex_pop, gen = 1)

Run the code above in your browser using DataLab