SimParam_addTraitAEG: Add additive and epistasis GxE traits
Description
Randomly assigns eligble QTLs for one or more additive and epistasis
GxE traits. If simulating more than one trait, all traits will be pleiotrophic
with correlated effects.
Arguments
nQtlPerChr
number of QTLs per chromosome. Can be a single value or nChr values.
mean
a vector of desired mean genetic values for one or more traits
var
a vector of desired genetic variances for one or more traits
relAA
the relative variance of additive-by-additive effects compared
to the additive effects
varGxE
a vector of total genotype-by-environment variances for the traits
varEnv
a vector of environmental variances for one or more traits
corA
a matrix of correlations between additive effects
corAA
a matrix of correlations between additive-by-additive effects
corGxE
a matrix of correlations between GxE effects
useVarA
tune according to additive genetic variance if true. If
FALSE, tuning is performed according to total genetic variance.
gamma
should a gamma distribution be used instead of normal
shape
the shape parameter for the gamma distribution
force
should the check for a running simulation be
ignored. Only set to TRUE if you know what you are doing.