neiprob {rNeighborQTL} | R Documentation |
Calculating neighbor QTL effects
Description
A function to calculate neighbor QTL effects between two individuals, with given deviation coefficients and conditional genotype probabilities.
Usage
neiprob(i, j, a2, d2, AA, AB, BB, d2sq0 = FALSE)
Arguments
i |
ID of a target individual. |
j |
ID of an interacting neighbor. |
a2 |
A numeric scalar indicating additive deviation. |
d2 |
A numeric scalar indicating dominance deviation. |
AA |
An individual x marker matrix of conditional probabilities for AA genotype. |
AB |
An individual x marker matrix of conditional probabilities for AB genotype. Input NA if heterozygotes are absent. |
BB |
An individual x marker matrix of conditional probabilities for BB genotype. Input NA for backcross lines. |
d2sq0 |
An option to make AB/AB interaction effects zero. |
Value
A numeric vector containing each marker effect for individual i.
Author(s)
Yasuhiro Sato (sato.yasuhiro.36c@kyoto-u.jp)
[Package rNeighborQTL version 1.1.2 Index]