View source: R/Population_getters.R
getAddCoefs | R Documentation |
Retrieve additive coefficients from population.
getAddCoefs(pop)
pop |
a |
getAddCoefs
retrieves the additive coefficients currently
in use in a Population
object, assuming additive effects
have been attached.
getAddCoefs
returns the additive coefficients
currently in use by the population.
Dion Detterer, Paul Kwan, Cedric Gondro
addEffects
# Construct a population with additive effects pop <- Population( popSize = 200, map = map100snp, QTL = 20, alleleFrequencies = runif(100), broadH2 = 0.6, narrowh2 = 0.6, traitVar = 40 ) pop <- addEffects(pop) # Get additive coefficients additive <- getAddCoefs(pop)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.