Description Usage Arguments Value
View source: R/ks.prepare_split.R
Create split required for 'ks.miRNAselector()' and all the following functions. It is obligatory to use it. The function devides the dataset into training, testing and validation set. Be default (as 'train_proc=0.6') 60 perc. of cases will be assigned to trainining datset. The rest is devided into testing and validation dataset in half, ending in 60 perc. of cases in training dataset, 20 perc. of cases in testing dataset and 20 perc. of cases in validation dataset. Metadata have to have 'Class' variable, with 'Cancer' and 'Control' values.
1 | ks.prepare_split(metadane = metadane, ttpm = ttpm_pofiltrze, train_proc = 0.6)
|
metadane |
Metadata of cases. Must contain 'Class' variable with 'Cancer' and 'Control' values. |
ttpm |
Normalized counts used (primary data for the rest of the analysis). |
train_proc |
What perc. should be kept in training dataset? |
The mixed dataset is return. In working directory mixed_train.csv, mixed_test.csv and mixed_valid.csv are saved. This is a crucial step in data preprocessing.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.