auc_multifunc {EGAD} | R Documentation

## Calculating AUC for functional groups from ranked lists

### 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

    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

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

[Package EGAD version 1.20.0 Index]