Learn R Programming

rNeighborQTL (version 1.1.1)

decompose_genoprobs: Decomposition of conditional genotype probabilities

Description

A function to decompose qtl's object of conditional genotype probabilities.

Usage

decompose_genoprobs(genoprobs, contrasts = NULL)

Arguments

genoprobs

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

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 list of three numeric matrices for genotype probabilities AA, AB, and BB. Each contains elements of individuals x markers.

  • AA Homozygote AA probabilities.

  • AB Heterozygote AB probabilities for. NA if inbred lines

  • BB Homozygote BB probabilities. NA if backcross lines