| get.index | R Documentation |
Function to put together indices for GxE / multi trait
get.index(
population,
traits = NULL,
locations = NULL,
trait.weights = NULL,
location.weights = NULL
)
population |
Population list |
traits |
Which traits to include in the index (all weight with factor 1) |
locations |
Which locations to include in the index (all weight weight factor 1) |
trait.weights |
Vector with a weight per trait |
location.weights |
Vector weight a weight per location |
Index
population = creating.diploid(nsnp =1000, nindi = 100)
population = creating.trait(population, n.additive = c(10,10), n.location=3, replace.traits = TRUE)
get.index(population, trait.weights = c(1,2), location.weights = c(1,2,3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.