View source: R/bv.standardization.R
| bv.standardization | R Documentation |
Function to get mean and genetic variance of a trait to a fixed value
bv.standardization(
population,
mean.target = NA,
var.target = NA,
gen = NULL,
database = NULL,
cohorts = NULL,
adapt.bve = TRUE,
adapt.pheno = NULL,
verbose = FALSE,
set.zero = FALSE,
adapt.sigma.e = FALSE,
traits = NULL
)
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: TRUE) |
adapt.pheno |
Modify previous phenotypes by scaling (default: TRUE) |
verbose |
Set to TRUE to display prints |
set.zero |
Set to TRUE to have no effect on the 0 genotype (or 00 for QTLs with 2 underlying SNPs) |
adapt.sigma.e |
Set to TRUE to scale sigma.e values used based on scaling |
traits |
Use this parameter to only perform scaling of these traits (alternatively set values in mean/var.target to NA, default: all traits) |
Population-list with scaled QTL-effects
population <- creating.diploid(nsnp=1000, nindi=100, n.additive=100)
population <- bv.standardization(population, mean.target=200, var.target=5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.