View source: R/mppGE_oneS_CV.R
mppGE_oneS_CV | R Documentation |
MPP GxE cross-validation one stage analysis
mppGE_oneS_CV( pop.name = "MPP", trait.name = "trait1", plot_data, mppData, trait, cv.ref, Rep = 5, k = 3, EnvNames = NULL, Q.eff = "cr", VCOV = "CS_CSRT", exp_des_form, thre.cof = 4, win.cof = 50, N.cim = 1, window = 20, thre.QTL = 4, win.QTL = 20, alpha = 0.01, verbose = TRUE, output.loc = NULL, workspace = 8e+06 )
pop.name |
|
trait.name |
|
plot_data |
|
mppData |
Object of class |
trait |
|
cv.ref |
|
Rep |
|
k |
|
EnvNames |
|
Q.eff |
|
VCOV |
VCOV |
exp_des_form |
|
thre.cof |
|
win.cof |
|
N.cim |
|
window |
|
thre.QTL |
|
win.QTL |
|
alpha |
|
verbose |
|
output.loc |
Path where a folder will be created to save the results. Default = NULL. |
workspace |
Size of workspace for the REML routines measured in double precision words (groups of 8 bytes). The default is workspace = 8e6. |
Return:
List
containing the following results items:
p_vs |
|
QTL |
|
The results elements returned as R object are also saved as text
files at the specified output location (output.loc
).
Vincent Garin
## Not run: library(asreml) data(mppData_GE) data(plot_data) # Specify a location where your results will be saved my.loc <- tempdir() CV <- mppGE_oneS_CV(pop.name = 'EUNAM', trait.name = 'DMY', plot_data = plot_data, mppData = mppData_GE, trait = 'DMY', cv.ref = c('DMY_CIAM', 'DMY_TUM'), Rep = 1, k = 2, EnvNames = c('CIAM', 'TUM'), Q.eff = 'par', exp_des_form = 'env:Rep + env:Rep:Block', thre.cof = 3,thre.QTL = 3, verbose = FALSE, output.loc = my.loc) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.