GetPredictorIDs: Function for obtaining database identifiers for each...

View source: R/metafeaturefunctions.R

GetPredictorIDsR Documentation

Function for obtaining database identifiers for each predictor. Used in functional analysis.

Description

Function for obtaining database identifiers for each predictor. Used in functional analysis.

Usage

GetPredictorIDs(preds, inputData, colIdInd, colIdOut)

Arguments

preds

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 two columns. The indId column contains the ID's for the independent analyte, and the outId column contains the ID's for the outcome analyte.


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