powered by
Generation of the trait in a starting population
merging.trait( population, merge = NULL, trait.name = NULL, bv.standard = FALSE, mean.target = NULL, var.target = NULL, verbose = TRUE, set.zero = FALSE, new.phenotype.correlation = NULL, new.residual.correlation = NULL )
Population-list with one or more additional new traits
Population list
Vector containing the traits to merge (e.g. c(2,3))
Name of the trait generated
Set TRUE to standardize trait mean and variance via bv.standardization()
Target mean
Target variance
Set to FALSE to not display any prints
Set to TRUE to have no effect on the 0 genotype (or 00 for QTLs with 2 underlying SNPs)
(OLD! - use new.residual.correlation) Correlation of the simulated enviromental variance
Correlation of the simulated enviromental variance
population <- creating.diploid(nsnp=1000, nindi=100) population <- creating.trait(population, n.additive=c(100,100)) population <- merging.trait(population, merge = c(1,2))
Run the code above in your browser using DataLab