ComputePathwayMetafeature: Compute the importance using pathway membership. Predictor...

View source: R/metafeaturefunctions.R

ComputePathwayMetafeatureR Documentation

Compute the importance using pathway membership. Predictor pairs that share at least one pathway have an importance of 1, and all others have an importance of 0.

Description

Compute the importance using pathway membership. Predictor pairs that share at least one pathway have an importance of 1, and all others have an importance of 0.

Usage

ComputePathwayMetafeature(predictions, inputData, colIdInd, colIdOut)

Arguments

predictions

Prediction data frame, where rows are samples, and columns are predictors.

inputData

Input data, which may include database ID mappings for the analytes.

colIdInd

The ID of the column that has the analyte ID's for the independent variable. If blank, then the existing ID's are used.

colIdOut

The ID of the column that has the analyte ID's for the outcome variable. If blank, then the existing ID's are used.

Value

A data frame with the importance metric for each sample and each predictor. The metric will be the same for all samples in this case.


ncats/MultiOmicsGraphPrediction documentation built on Aug. 23, 2023, 9:19 a.m.