MQE_proc {mppR} | R Documentation |
Multi-QTL effect MPP analysis
Description
Build multi-QTL effects (MQE) models in which different QTL effects (cross-specific, parental, ancestral or bi-allelic) can be assumed at different loci.
Usage
MQE_proc(
pop.name = "MPP_MQE",
trait.name = "trait1",
mppData = NULL,
trait = 1,
Q.eff,
ref.par = NULL,
threshold = 4,
window = 30,
backward = TRUE,
alpha.bk = 0.05,
plot.MQE = FALSE,
CI = FALSE,
drop = 1.5,
n.cores = 1,
verbose = TRUE,
output.loc
)
Arguments
pop.name |
|
trait.name |
|
mppData |
An object of class |
trait |
|
Q.eff |
|
ref.par |
Optional |
threshold |
|
window |
|
backward |
|
alpha.bk |
|
plot.MQE |
|
CI |
|
drop |
|
n.cores |
|
verbose |
|
output.loc |
Path where a folder will be created to save the results. |
Details
The possible QTL effect that the user wants to allow must be
specified in Q.eff
. The procedure is the following:
Forward regression to determine a MQE model with different possible assumptions for the QTL effect at different loci. The function use.
Optional backward elimination (
backward = TRUE
) on the final list of detected QTLs.Estimation of the QTL genetic effects and R squared statistics.
If
plot.MQE = TRUE
, plot of the last CIM run of the forward regression.If
CI = TRUE
, confidence interval calculation based on a CIM- (CIM without cofactor on the selected chromosome) of the last run of the forward regression.
Value
Return:
List
containing the following items:
n.QTL |
Number of detected QTLs. |
QTL |
|
R2 |
|
QTL.effects |
|
QTL.CI |
If |
Some output files are also saved at the location specified
(output.loc
):
A QTL report (QTL_REPORT.txt) with: 1) the number of detected QTLs; 2) the global R squared statistics; 3) for each QTL, position information and estimated QTL genetic effect per cross or parents.
The list of QTLs (QTL.txt).
The QTL R squared statistics (QTL_R2.txt) (for details see
QTL_R2
).General results of the QTL detection process: Number of QTL and global adjusted and non-adjusted R squared statistics. (QTL_genResults.txt).
if
plot.MQE = TRUE
, a plot of the last QTL detection run profile (plot_MQE.pdf).If
CI = TRUE
, the QTL confidence intervals (QTL_CI.txt).
Author(s)
Vincent Garin
See Also
Examples
## Not run:
data(mppData)
# Specify a location where your results will be saved
my.loc <- tempdir()
MQE <- MQE_proc(pop.name = "USNAM", trait.name = "ULA", mppData = mppData,
Q.eff = c("par", "biall"), verbose = FALSE,
output.loc = my.loc)
## End(Not run)