Description Usage Arguments Value Examples
View source: R/combine.traits.R
Function to combine traits in the BVE
1 2 3 4 5 6 7 | combine.traits(
population,
combine.traits = NULL,
combine.name = NULL,
remove.combine = NULL,
remove.all = FALSE
)
|
population |
Population list |
combine.traits |
Vector containing the traits (numbers) to combine into a joined trait |
combine.name |
Name of the combined trait |
remove.combine |
Remove a selected previously generated combined trait |
remove.all |
Set TRUE to remove all previously generated combined traits |
Population-list
1 2 3 | population <- creating.diploid(nsnp=100, nindi=100, n.additive = c(50,50))
population <- combine.traits(population, combine.traits=1:2)
population <- breeding.diploid(population, bve=TRUE, phenotyping.gen=1, heritability=0.3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.