auc_multifunc: Calculating AUC for functional groups from ranked lists

Description Usage Arguments Value Examples

View source: R/auc_multifunc.R

Description

The function calculates the AUC for a functional group analytically using an optimal ranked list of genes that indicates association between genes and groups.

Usage

1
auc_multifunc(annotations, optimallist)

Arguments

annotations

binary matrix indicating which list elements are in which functional groups.

optimallist

Ranked list (multifunctionality analysis, see calculate_multifunc).

Value

aucs array of aucs for each group in annotations

Examples

1
2
3
4
annotations <- c(rep(0,10))
annotations[c(1,3,5)] <- 1 
optimallist <- 10:1
aurocs_mf <- auc_multifunc(annotations, optimallist)

EGAD documentation built on Nov. 8, 2020, 8:31 p.m.