| fcauc.x {ROCS} | R Documentation |
The function plots the ROC curve. It shades the area corresponding to acceptable FDR level. The FDR-controlled area under the curve (FCAUC) is calculated for the shaded area.
fcauc.x(x0, x1, FDR.cut = 0.2)
x0 |
Vector; the raw data of the null class. |
x1 |
Vector; the raw data of the non-null class. |
FDR.cut |
The FDR level at which to shade the AUC and calculate the FCAUC. |
The FCAUC value is returned.
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.fptp
#perfect separation x0<-runif(1000) x1<-runif(100)+2 fcauc.x(x0, x1) #partial separation x0<-rnorm(1000, mean=0, sd=1.5) x1<-rnorm(100, mean=3, sd=1) fcauc.x(x0, x1)