Calculating AUC for functional groups from ranked lists

Share:

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)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.