# NOT RUN {
# Construct a population with additive and epistatic effects
pop <- Population(
popSize = 200, map = map100snp, QTL = 20,
alleleFrequencies = runif(100),
broadH2 = 0.9, narrowh2 = 0.6, traitVar = 40
)
pop <- addEffects(pop)
pop <- attachEpiNet(pop)
# Retrieve phenotypic components from population
components <- getComponents(pop)
# }
Run the code above in your browser using DataLab