getDataSelectedFeatures {multiSight} | R Documentation

## Select only data values from diablo features selected.

### Description

Select only data values from diablo features selected.

### Usage

    getDataSelectedFeatures(matrixDataList, featureList = NULL)

### Arguments

`matrixDataList` | A matrix list according to omic type with sample ID as columns and features as rows.
`featureList` | A features list for each omic type.

### Value

A concatenated matrix of all omic selected features.

### 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.
    omicMatrices <- getDataSelectedFeatures(omic2, diabloFeats)

[Package multiSight version 1.2.0 Index]