print.Population | R Documentation |
Print a summary of the population object.
## S3 method for class 'Population' print(x, ...)
x |
a valid |
... |
additional parameters (ignored) |
This is an S3 method for printing a summary of a Population
object. Displayed are the initial parameters for the population
(i.e. population size, phenotypic variance, broad-sense
heritability, narrow-sense heritability and the SNPs used as
QTLs), followed by any current additive and epistatic variance in
the population.
Dion Detterer, Paul Kwan, Cedric Gondro
Population
, addEffects
,
attachEpiNet
, runSim
# Build a population pop <- Population( popSize = 10, map = map100snp, QTL = 20, alleleFrequencies = runif(100), broadH2 = 0.9, narrowh2 = 0.5, traitVar = 40 ) pop <- addEffects(pop) pop <- attachEpiNet(pop) # Print the initial population pop # Run population in simulation pop2 <- runSim(pop, generations = 50) # Print the population following the simulation pop2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.