| merging.trait | R Documentation |
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 |
Population list |
merge |
Vector containing the traits to merge (e.g. c(2,3)) |
trait.name |
Name of the trait generated |
bv.standard |
Set TRUE to standardize trait mean and variance via bv.standardization() |
mean.target |
Target mean |
var.target |
Target variance |
verbose |
Set to FALSE to not display any prints |
set.zero |
Set to TRUE to have no effect on the 0 genotype (or 00 for QTLs with 2 underlying SNPs) |
new.phenotype.correlation |
(OLD! - use new.residual.correlation) Correlation of the simulated enviromental variance |
new.residual.correlation |
Correlation of the simulated enviromental variance |
Population-list with one or more additional new traits
population <- creating.diploid(nsnp=1000, nindi=100)
population <- creating.trait(population, n.additive=c(100,100))
population <- merging.trait(population, merge = c(1,2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.