matplot_enrichment_curve: Function to plot multiple enrichment curves for virtual...

Description Usage Arguments Value Author(s) Examples

View source: R/matplot_enrichment_curve.R

Description

Function to plot multiple enrichment curves for virtual screening

Usage

1

Arguments

x

score matrix for compounds (row) by several approaches (column)

y

activity label for compounds (0:inactive, 1:active)

Value

call plots

Author(s)

Hiroaki YABUUCHI

Examples

1
2
3
x <- matrix(rnorm(5000), ncol=5)  # random 5 scores for 1000 compounds
y <- c(rep(1,50), rep(0,950))     # activity labels for "x"
matplot_enrichment_curve(x, y)

Example output



enrichvs documentation built on May 2, 2019, 10:22 a.m.