powered by
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-list with scaled QTL-effects
Population list
Target mean
Target variance
Quick-insert for database (vector of all generations to export)
Groups of individuals to consider for the export
Quick-insert for database (vector of names of cohorts to export)
Modify previous breeding value estimations by scaling (default: TRUE)
Modify previous phenotypes by scaling (default: TRUE)
Set to TRUE to display prints
Set to TRUE to have no effect on the 0 genotype (or 00 for QTLs with 2 underlying SNPs)
Set to TRUE to scale sigma.e values used based on scaling
Use this parameter to only perform scaling of these traits (alternatively set values in mean/var.target to NA, default: all traits)
population <- creating.diploid(nsnp=1000, nindi=100, n.additive=100) population <- bv.standardization(population, mean.target=200, var.target=5)
Run the code above in your browser using DataLab