powered by
Calculate for genetic effects vector of selected markers.
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 )
a vector of genetic effect.
integer: the QTN number of single trait; vector: the multiple group QTN number of single trait; matrix: the QTN number of multiple traits.
the QTN distribution containing "norm", "geom", "gamma" or "beta".
the standard deviations for normal distribution.
the probability of success for geometric distribution.
the shape parameter for gamma distribution.
the scale parameter for gamma distribution.
the shape1 parameter for beta distribution.
the shape2 parameter for beta distribution.
the ncp parameter for beta distribution.
Dong Yin
Build date: Nov 14, 2018 Last update: Apr 28, 2022
eff <- cal.eff(qtn.num = 10) str(eff)
Run the code above in your browser using DataLab