fcauc.fptp {ROCS} | R Documentation |
Generating ROC plot with shading based on FDR using user-provided FPR, TPR, FDR values
Description
The function plots the ROC curve using user-provided FPR, TPR, FDR values. It shades the area corresponding to acceptable FDR level. The FDR-controlled area under the curve (FCAUC) is calculated for the shaded area.
Usage
fcauc.fptp(FP, TP, TDR, FDR.cut = 0.2, do.plot=TRUE)
Arguments
FP |
Vector of false positive rate. |
TP |
Vector of true positive rate. |
TDR |
Vector of true discovery rate. |
FDR.cut |
The cutoff value of FDR, for the purpose of FCAUC cualculation. |
do.plot |
Whether to generate the plot. |
Value
The FCAUC value is returned.
Author(s)
Tianwei Yu. Email: tianwei.yu@emory.edu.
References
Yu T (2012) ROCS: Receiver Operating Characteristic Surface for Class-Skewed High-Throughput Data. PLoS ONE 7(7): e40598.
See Also
fcauc.x
[Package ROCS version 1.4 Index]