The formula is used to specified the model to be fit. In the
formula, use Q1
, Q2
, etc., or q1
,
q2
, etc., to represent the QTLs, and the column names in the
covariate data frame to represent the covariates.
We enforce a hierarchical structure on the model formula: if a QTL or
covariate is in involved in an interaction, its main effect must also
be included.
In the drop-one-term analysis, for a given QTL/covariate model, all
submodels will be analyzed. For each term in the input formula, when
it is dropped, all higher order terms that contain it will also be
dropped. The comparison between the new model and the full (input)
model will be output.
The estimated percent variances explained for the QTL are simplify
transformations of the conditional LOD scores by the formula \(h^2
= 1 - 10^{-(2/n) {\rm LOD}}\). While these may be reasonable for
unlinked, additive QTL, they can be completely wrong in the case
of linked QTL, but we don't currently have any alternative.
For model="binary"
, a logistic regression model is used.
The part to get estimated QTL effects is not complete for the
case of the X chromosome and 4-way crosses. The values returned in
these cases are based on a design matrix that is convenient for
calculations but not easily interpreted.
The estimated QTL effects for a backcross are derived by the coding
scheme \(\pm\) 1/2 for AA and AB, so that the additive
effect corresponds to the difference between phenotype averages for
the two genotypes. For doubled haploids and RIL, the coding scheme is
\(\pm\) 1 for AA and BB, so that the additive effect
corresponds to half the difference between the phenotype averages for
the two homozygotes.
For an intercross, the additive effect is derived from the coding
scheme -1/0/+1 for genotypes AA/AB/BB, and so is half the difference
between the phenotype averages for the two homozygotes. The dominance
deviation is derived from the coding scheme 0/+1/0 for genotypes
AA/AB/BB, and so is the difference between the phenotype average for
the heterozygotes and the midpoint between the phenotype averages for
the two homozygotes.
Epistatic effects and QTL \(\times\) covariate interaction
effects are obtained through the products of the corresponding
additive/dominant effect columns.