get.gene.coef: Get the coefficients of genetic effect

Description Usage Arguments Value Author(s) Examples

Description

Get the coefficients of genetic effectsre.

Usage

1
get.gene.coef(main.pars, epi.pars, model = c("epistasis"), ...)

Arguments

main.pars

a data.frame or a matrix containing the parameters for the main effect: additive and dominace.

epi.pars

a data.frame or a matrix containing the parameters for the epistatic effect: additive * additive, additive * dominance, dominance * additive, dominance * dominance.

model

a string show the genetic model to use for simulation. Default is "epistasis"

...

not used.

Value

a list with the coefficients of genetic effects.

Author(s)

Beibei Jiang beibei_jiang@psych.mpg.de and Benno Pütz puetz@psych.mpg.de

Examples

1
2
3
4
5
6
7
8
# take a look at the settings of coefficients for main effects
maineff.pars

# take a look at the settings of coefficients for interactive effects
epistasis.pars

# get a vector of gene coefficients
get.gene.coef(maineff.pars, epistasis.pars)

SimPhe documentation built on May 1, 2019, 9:10 p.m.