selfprob {rNeighborQTL} | R Documentation |
Calculating self QTL effects
Description
A function to calculate self QTL effects for an individual, with given deviation coefficients and conditional genotype probabilities.
Usage
selfprob(i, a1, d1, AA, AB, BB)
Arguments
i |
ID of a target individual. |
a1 |
A numeric scalar indicating additive deviation. |
d1 |
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. |
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]