cal.eff {simer}R Documentation

QTN genetic effects

Description

Calculate for genetic effects vector of selected markers.

Usage

cal.eff(
  qtn.num = 10,
  qtn.dist = "norm",
  qtn.var = 1,
  qtn.prob = 0.5,
  qtn.shape = 1,
  qtn.scale = 1,
  qtn.shape1 = 1,
  qtn.shape2 = 1,
  qtn.ncp = 0
)

Arguments

qtn.num

integer: the QTN number of single trait; vector: the multiple group QTN number of single trait; matrix: the QTN number of multiple traits.

qtn.dist

the QTN distribution containing 'norm', 'geom', 'gamma' or 'beta'.

qtn.var

the standard deviations for normal distribution.

qtn.prob

the probability of success for geometric distribution.

qtn.shape

the shape parameter for gamma distribution.

qtn.scale

the scale parameter for gamma distribution.

qtn.shape1

the shape1 parameter for beta distribution.

qtn.shape2

the shape2 parameter for beta distribution.

qtn.ncp

the ncp parameter for beta distribution.

Details

Build date: Nov 14, 2018 Last update: Apr 28, 2022

Value

a vector of genetic effect.

Author(s)

Dong Yin

Examples

eff <- cal.eff(qtn.num = 10)
str(eff)

[Package simer version 0.9.0.4 Index]