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.
fcauc.fptp(FP, TP, TDR, FDR.cut = 0.2, do.plot=TRUE)The FCAUC value is returned.
Vector of false positive rate.
Vector of true positive rate.
Vector of true discovery rate.
The cutoff value of FDR, for the purpose of FCAUC cualculation.
Whether to generate the plot.
Tianwei Yu. Email: tianwei.yu@emory.edu.
Yu T (2012) ROCS: Receiver Operating Characteristic Surface for Class-Skewed High-Throughput Data. PLoS ONE 7(7): e40598.
fcauc.x