enrichment_factor: Enrichment Factor Function

Description Usage Arguments Examples

Description

This function computes the enrichment factor

Usage

1
enrichment_factor(X, fraction = 0.05)

Arguments

X

vector of 0 (inactives) and 1 (actives) that was sorted based on some scores (e.g., agreement between measured and predicted shifts)

Examples

1
enrichment_factor(sample(c(rep(0,100),rep(1,10))))

atfrank/nmR documentation built on May 10, 2019, 2:09 p.m.