View source: R/mod_hypothesisGenerator_fct_NetworkInference.R
getDataSelectedFeatures | R Documentation |
Select only data values from diablo features selected.
getDataSelectedFeatures(matrixDataList, featureList = NULL)
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. |
A concatenated matrix of all omic selected features.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.