Predict all files in a folder using PLSDA of a training dataset, file names have to be of form name_.......txt Predicts classifications of test dataset and writes out predictions
1 2 3 | predict_PLSDA_graph(prediction_file, test_files_folder, anno.file,
output_folder = "./", train_string = "", test_pattern = "",
train_pattern = "", comps = 3)
|
prediction_file |
file with training data features rows , genes columns, features are in column 1 |
test_files_folder |
folder of test files |
anno.file |
Annotation file, first column is sample names, 2nd is annotation |
output_folder |
output folder |
train_string |
string of training data to insert in file name of predicted scores |
train_pattern |
annotation type of main group in your comparison ,taken from 2nd column in anno. |
comps |
number of components to compute |
test_string |
string of data being tested to insert in file name of predicted scores |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.