Generate parameters for phenotype data simulation.
param.pheno(SP = NULL, ...)
the function returns a list containing
the population information containing environmental factors and other effects.
the number of individuals in the base population.
the repeated times of repeated records.
whether repeated records are balanced.
a list of environmental factors setting.
a list of phenotype types.
a list of genetic model of phenotype such as "T1 = A + E".
a list of additive heritability.
a list of dominant heritability.
a list of GxG interaction heritability.
a list of GxE interaction heritability.
a list of permanent environmental heritability.
a list of phenotype variance.
the additive genetic correlation matrix.
the dominant genetic correlation matrix.
the GxG genetic correlation matrix.
the permanent environmental correlation matrix.
the residual correlation matrix.
a list of all simulation parameters.
one or more parameter(s) for phenotype simulation.
Dong Yin
Build date: Feb 21, 2022 Last update: Jul 4, 2022
SP <- param.pheno(phe.model = list(tr1 = "T1 = A + E"))
str(SP)
Run the code above in your browser using DataLab