bv.standardization: BV standardization

Description Usage Arguments Value Examples

View source: R/bv.standardization.R

Description

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

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
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

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

MoBPS documentation built on Nov. 9, 2021, 5:08 p.m.