matplot_enrichment_curve {enrichvs} | R Documentation |
Function to plot multiple enrichment curves for virtual screening
matplot_enrichment_curve(x, y)
x |
score matrix for compounds (row) by several approaches (column) |
y |
activity label for compounds (0:inactive, 1:active) |
call plots
Hiroaki YABUUCHI
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)