roc.auc: Receiver operating curve for peak classification

Description Usage Arguments Value

View source: R/Main.R

Description

Plots accuracy of peak ranking against known true positive peaks as receiver operating curve (ROC) plot. Alternatively, can return area under the ROC curve (AUC).

Usage

1
roc.auc(peak.df, true.pos.peaks, make.plot = TRUE, title.text = "")

Arguments

peak.df

a sorted peak data frame Note: peak data frame must be arranged so that most important peaks are on top of the data frame. Least important peaks on the bottom.

true.pos.peaks

a vector of peak IDs considered to be true positive peaks

make.plot

if true, plots ROC curve. Otherwise, returns area under ROC curve.

title.text

the title of the the ROC curve. Only affects result if make.plot is TRUE.

Value

Plot of ROC curve or area under ROC curve


agentlans/PeakSorter documentation built on Sept. 14, 2017, 12:32 a.m.