Description Usage Arguments Details Examples
View source: R/predict_whole_proteom.R
Process the feature files with Liblinear training and prediction. Conduct n_fold cross validation with the files supplied.
1 2 | process_n_fold_cross_validation(liblinear_dir, n_fold, feature_file_path,
training_file_names, test_file_names, output_label, cvlog_path_name)
|
liblinear_dir |
Absolute peth of Liblinear tool. |
n_fold |
Number of folds used for training and prediction, default set to 2 |
feature_file_path |
Absolute path of the feature files. |
training_file_names |
An Rds file containing the file names of the training feature data. |
test_file_names |
An Rds file containing the file names of the test feature data. |
output_label |
The string to tag the output files. |
cvlog_path_name |
The path and name of the log files, which hold the details of Liblinear procedures. |
This function call Liblinear library to perform n_fold training/prediction, the prediction score will be part of the output files.
1 2 3 4 5 6 7 | process_n_fold_cross_validation(liblinear_dir = "/data/ginny/liblinear-2.11/",
n_fold = 2,
feature_file_path = "/data/ginny/test_package/",
training_file_names = "ps_0103_training_feature_names.Rds",
test_file_names = "ps_0103_test_feature_names.Rds",
output_label = "ps_0103",
cvlog_path_name = "/data/ginny/test_package/cvlog.txt")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.