genoprobs2selfprobs {rNeighborQTL}R Documentation

Calculating a set of self QTL effects from conditional genotype probabilities

Description

A function to reshape qtl's object of conditional genotype probabilities, and to calculate self QTL effects for all individuals with given deviation coefficients and conditional genotype probabilities.

Usage

genoprobs2selfprobs(genoprobs, a1, d1, contrasts = NULL)

Arguments

genoprobs

Conditional genotype probabilities as taken from qtl::calc.genoprob().

a1

A numeric scalar indicating additive deviation.

d1

A numeric scalar indicating dominance deviation.

contrasts

A vector composed of three TRUE/FALSE values, which represents the presence/absence of specific genotypes as c(TRUE/FALSE, TRUE/FALSE, TRUE/FALSE) = AA, AB, BB.

Value

A numeric matrix containing individuals x marker elements for self QTL effects.

Author(s)

Yasuhiro Sato (sato.yasuhiro.36c@kyoto-u.jp)


[Package rNeighborQTL version 1.1.2 Index]