genicVarAA {AlphaSimR} | R Documentation |
Additive-by-additive genic variance
Description
Returns additive-by-additive epistatic genic variance for all traits
Usage
genicVarAA(pop, simParam = NULL)
Arguments
pop |
an object of |
simParam |
an object of |
Examples
#Create founder haplotypes
founderPop = quickHaplo(nInd=10, nChr=1, segSites=10)
#Set simulation parameters
SP = SimParam$new(founderPop)
SP$addTraitAD(10, meanDD=0.5)
SP$setVarE(h2=0.5)
#Create population
pop = newPop(founderPop, simParam=SP)
genicVarAA(pop, simParam=SP)
[Package AlphaSimR version 1.5.3 Index]