A function to decompose qtl
's object of conditional genotype probabilities.
decompose_genoprobs(genoprobs, contrasts = NULL)
Conditional genotype probabilities as taken from qtl::calc.genoprob()
.
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.
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