selfprob: Calculating self QTL effects

Description Usage Arguments Value Author(s)

View source: R/selfprob.R

Description

A function to calculate self QTL effects for an individual, with given deviation coefficients and conditional genotype probabilities.

Usage

1
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)


rNeighborQTL documentation built on April 9, 2021, 9:06 a.m.