evalGeneSet: Evaluate a single gene set

Description Usage Arguments Value

View source: R/lpocv.R

Description

Evaluates a gene set of interest in the context of a given dataset

Usage

1
evalGeneSet(gsi, XY, lP, nBK = 0, method = "lgr")

Arguments

gsi

gene set of interest, provided as a character vector

XY

dataset, as loaded by prepareTask()

lP

list of pairs for cross-validation, as generated by preparePairs()

nBK

number of background sets that should be generated alongside the gene set of interest

method

one of "lgr", "svm, xgb", "nn" for logistics regression, support vector machines, xgboost and neural nets, respectively

Value

A data frame of results, where the first row corresponds to the gene set of interest, and all subsequent rows correspond to the generated background sets


labsyspharm/DRIAD documentation built on Jan. 6, 2022, 3:04 p.m.