splitDatatoTrainTest {multiSight} | R Documentation

## MLmodels util function

### Description

To split list of omic data in data train and data test subsets.

### Usage

    splitDatatoTrainTest(MultiOmicData, freq = 0.8)

### Arguments

`MultiOmicData` | list of your data blocks
`freq` | Split proportion of train samples

### Value

Return two data sets: first to train model and second to assess it.

### Examples

    data("omic2", package = "multiSight")
    splitData <- splitDatatoTrainTest(omic2, 0.8)
    data.train <- splitData$data.train
    data.test <- splitData$data.test

[Package multiSight version 1.2.0 Index]