get.additive.coef.from.3.genoprobs: Compute Additive Coefficient From Three Genotype...

Description Usage Arguments Details Value Author(s)

View source: R/get.additive.coef.from.3.genoprobs.R

Description

get.add.coef.from.3.genoprobs should not typically be called by a user. It is used to reliably set up model coefficients from genotype probabilities.

Usage

1

Arguments

paa

A vector of length n giving the probability of AA-type for each individual, or a matrix or data.frame of dimension n-by-3 giving probability of AA-type and the probability of AB-type and the probability of BB-type for each individual.

pab

A vector of length n giving the probability of AB-type for each individual, or missing if pa is a data.frame or matrix.

pbb

A vector of length n giving the probability of BB-type for each individual, or missing if pa is a data.frame or matrix.

Details

none

Value

Additive coefficient vector.

Author(s)

Robert Corty rcorty@gmail.com


vqtl documentation built on May 19, 2017, 10:30 p.m.

Search within the vqtl package
Search all R packages, documentation and source code