bv.standardization {MoBPS}R Documentation

BV standardization

Description

Function to get mean and genetic variance of a trait to a fixed value

Usage

bv.standardization(
  population,
  mean.target = 100,
  var.target = 10,
  gen = NULL,
  database = NULL,
  cohorts = NULL,
  adapt.bve = FALSE,
  adapt.pheno = FALSE,
  verbose = FALSE
)

Arguments

population

Population list

mean.target

Target mean

var.target

Target variance

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)

adapt.bve

Modify previous breeding value estimations by scaling (default: FALSE)

adapt.pheno

Modify previous phenotypes by scaling (default: FALSE)

verbose

Set to TRUE to display prints

Value

Population-list with scaled QTL-effects

Examples

population <- creating.diploid(nsnp=1000, nindi=100, n.additive=100)
population <- bv.standardization(population, mean.target=200, var.target=5)

[Package MoBPS version 1.6.64 Index]