param.pheno {simer}R Documentation

Phenotype parameters generator

Description

Generate parameters for phenotype data simulation.

Usage

param.pheno(SP = NULL, ...)

Arguments

SP

a list of all simulation parameters.

...

one or more parameter(s) for phenotype simulation.

Details

Build date: Feb 21, 2022 Last update: Jul 4, 2022

Value

the function returns a list containing

$pheno$pop

the population information containing environmental factors and other effects.

$pheno$pop.ind

the number of individuals in the base population.

$pheno$pop.rep

the repeated times of repeated records.

$pheno$pop.rep.bal

whether repeated records are balanced.

$pheno$pop.env

a list of environmental factors setting.

$pheno$phe.type

a list of phenotype types.

$pheno$phe.model

a list of genetic model of phenotype such as "T1 = A + E".

$pheno$phe.h2A

a list of additive heritability.

$pheno$phe.h2D

a list of dominant heritability.

$pheno$phe.h2GxG

a list of GxG interaction heritability.

$pheno$phe.h2GxE

a list of GxE interaction heritability.

$pheno$phe.h2PE

a list of permanent environmental heritability.

$pheno$phe.var

a list of phenotype variance.

$pheno$phe.corA

the additive genetic correlation matrix.

$pheno$phe.corD

the dominant genetic correlation matrix.

$pheno$phe.corGxG

the GxG genetic correlation matrix.

$pheno$phe.corPE

the permanent environmental correlation matrix.

$pheno$phe.corE

the residual correlation matrix.

Author(s)

Dong Yin

Examples

SP <- param.pheno(phe.model = list(tr1 = "T1 = A + E"))
str(SP)

[Package simer version 0.9.0.4 Index]