View source: R/mod_MLmodels_utils.R
splitDatatoTrainTest | R Documentation |
To split list of omic data in data train and data test subsets.
splitDatatoTrainTest(MultiOmicData, freq = 0.8)
MultiOmicData |
list of your data blocks |
freq |
Split proportion of train samples |
Return two data sets: first to train model and second to assess it.
data("omic2", package = "multiSight") splitData <- splitDatatoTrainTest(omic2, 0.8) data.train <- splitData$data.train data.test <- splitData$data.test
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.