assessPerformance_Diablo {multiSight} | R Documentation

## MLmodels diablo function

### Description

A diablo models assessing function.

### Usage

    assessPerformance_Diablo(splsdaModel, dataTest)

### Arguments

`splsdaModel` | sPLS-DA model computed and returned inside runSPLSDAmodels_Diablo() results.
`dataTest` | List of new omic data sets and samples for same omics that training to test model performances. Returned by splitDatatoTrainTest().

### Value

Confusion matrix for sPLS-DA model

### 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.
    perfDiablo <- assessPerformance_Diablo(diabloModels, data.test)
    perfDiablo$Omic1 # sPLS-DA's perf for omic1 data block.

[Package multiSight version 1.2.0 Index]