correlationNetworkInference: Correlation network inference

View source: R/mod_hypothesisGenerator_fct_NetworkInference.R

correlationNetworkInferenceR Documentation

Correlation network inference

Description

Correlation network inference

Usage

correlationNetworkInference(concatenatedMatrix, valueThreshold)

Arguments

concatenatedMatrix

A concatenated matrix of all omic selected features. Returned by getDataSelectedFeatures().

valueThreshold

Correlation absolute value threshold to select relevant values.

Value

Each result for a correlation network of selected features according to threshold values.

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)
correlationNetworkInference(omicMatrices, 0.8)


Fjeanneret/multiSight documentation built on April 6, 2022, 7:59 a.m.