Learn R Programming

enrichvs (version 0.0.3)

matplot_enrichment_curve: Plot multiple enrichment curves for virtual screening

Description

Plot multiple enrichment curves for virtual screening

Usage

matplot_enrichment_curve(x, y)

Arguments

x
score matrix for compounds (row) by several approarches (column)
y
activity label for compounds (0:inactive, 1:active)

Value

  • call a plot

Examples

Run this code
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)

Run the code above in your browser using DataLab