runSPLSDA {multiSight} | R Documentation

## MLmodels diablo function

### Description

A model and selection features function from mixOmics.

### Usage

    runSPLSDA(dataTrain)

### Arguments

`dataTrain` | Data train set to build classification models. Returned by splitDatatoTrainTest().

### Value

Returns sPLS-DA model, performances, features selected.

### Examples

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

    #diabloRes <- runSPLSDA(data.train)
    data("diabloRes", package = "multiSight")
    diabloModels <- diabloRes$model #sPLS-DA model using all omics.
    diabloFeats <- diabloRes$biosignature #selected features for each omic.

[Package multiSight version 1.2.0 Index]