View source: R/predict_trait_MET.R
predict_trait_MET | R Documentation |
Implement trait prediction based on SNP and environmental data with selection of prediction methods among Machine Learning approaches.
This function should be used to assess the predictive ability according to a cross-validation scheme determined by the user.
predict_trait_MET(
METData_training,
METData_new,
trait,
prediction_method,
use_selected_markers = F,
list_selected_markers_manual = NULL,
lat_lon_included = F,
year_included = F,
location_included = T,
include_env_predictors = T,
list_env_predictors = NULL,
seed = NULL,
save_processing = T,
path_folder,
save_model = F,
...
)
METData_training |
@param METData_new |
trait |
|
prediction_method |
|
use_selected_markers |
A |
lat_lon_included |
|
year_included |
|
location_included |
|
include_env_predictors |
A |
list_env_predictors |
A |
seed |
|
save_processing |
a |
path_folder |
a |
save_model |
a |
... |
Arguments passed to the |
cv_type |
A |
cv0_type |
A |
nb_folds_cv1 |
A |
repeats_cv1 |
A |
nb_folds_cv2 |
A |
repeats_cv2 |
A |
A list
object of class met_cv
with the following items:
list
of res_fitted_split
elements.
Detailed prediction results for each split of the
data within each element of this list.
integer
Seed used to generate the
cross-validation splits.
Cathy C. Westhues cathy.jubin@hotmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.