QTL_effect_main_QxEC {mppR} | R Documentation |
Estimation of a model with main and QTL by environmental sensitivity terms
Description
After estimating which parental allelic effects have a significant interaction with the environment (QEI), the function extends the model for the allelic effect with a significant QEI to characterize this interaction in terms of sensitivity to (a) specific environmental covariate(s).
Usage
QTL_effect_main_QxEC(
mppData,
trait,
env_id = NULL,
ref_env = NULL,
ref_par = NULL,
VCOV = "UN",
QTL = NULL,
thre_QTL = 2,
EC,
Qmain_QEI = NULL,
maxIter = 100,
msMaxIter = 100
)
Arguments
mppData |
An object of class |
trait |
|
env_id |
|
ref_env |
Optional |
ref_par |
Optional |
VCOV |
VCOV |
QTL |
Object of class |
thre_QTL |
|
EC |
|
Qmain_QEI |
results from |
maxIter |
maximum number of iterations for the lme optimization algorithm. Default = 100. |
msMaxIter |
maximum number of iterations for the optimization step inside the lme optimization. Default = 100. |
Details
The function first estimate the parental QTL allele main and QTLxE effect
using the function QTL_effect_main_QEI
. Optionally the output
of QTL_effect_main_QEI
can be passed through the 'Qmain_QEI'
argument. The function consider that a parental QTL allele significantly
interacts with the environment if its QTLxE term is significant at the
'thre_QTL' level. Thre_QTL is expressed in terms of -log10(p-val).
For example, for p-val = 0.01, thre_QTL = -log10(p-val) = 2. Given this
information, the effect of the parental QTL allele with a significant QEI
are extended like that \beta_{pj} = EC_j*S_p+l_{p\epsilon}
where
EC_j
represents the EC value in environment j associated with the
sensitivity term S_p
. The S_{p}
determines the rate of change of
the parental QTL allelic additive effect given an extra unit of EC. Finally,
l_{p\epsilon}
is a residual effect. The fitted model becomes:
\underline{y}_{icj} = E_{j} + C_{cj} + \sum_{q=1}^{n_{QTL}} x_{i_{q}p} (\alpha_p + \beta_{pj}) + x_{i_{q}pxE} (\alpha_p + EC_j*S_p+l_{p\epsilon}) + \underline{GE}_{icj} + \underline{e}_{icj}
The estimation is performed using an exact mixed model with function from R
package nlme
. The significance of S_{p}
is assessed using a
Wald test.
Value
Return:
List
with one data.frame
per QTL that contains the following
elements:
QTL parent allele main effect expressed as deviation with respect to the reference parent
QTL parent allele effect in environment j expressed as deviation with respect to the reference parent
Significance of the parent main effect expressed as the -log10(p-val)
Significance of the parent QTLxE effect expressed as the -log10(p-val)
Author(s)
Vincent Garin
References
Pinheiro J, Bates D, DebRoy S, Sarkar D, R Core Team (2021). nlme: Linear and Nonlinear Mixed Effects Models_. R package version 3.1-152, <URL: https://CRAN.R-project.org/package=nlme>.
See Also
Examples
## Not run:
data(mppData_GE)
Qpos <- c("PZE.105068880", "PZE.106098900")
EC <- matrix(c(180, 310, 240, 280), 4, 1)
rownames(EC) <- c('CIAM', 'TUM', 'INRA', 'KWS')
colnames(EC) <- 'cum_rain'
Qeff <- QTL_effect_main_QxEC(mppData = mppData_GE,
trait = c('DMY_CIAM', 'DMY_TUM', 'DMY_INRA_P', 'DMY_KWS'),
env_id = c('CIAM', 'TUM', 'INRA', 'KWS'),
QTL = Qpos, EC = EC)
Qeff
## End(Not run)