The function draws two colored ROC curves in one plot. For each curve, the segment that corresponds to acceptable FDR (e.g. <= 0.2) is colored differently than the rest of the curve.
fcauc.comp.fptp(roc.1, roc.2, FDR.cut = 0.2, lwd = 3,
colors = c("blue", "green", "cyan", "red"),
exp.labels = c("experiment 1", "experiment 2"))No value is returned.
A list object with three components: TP, FP and TDR, each being a vector.
A list object with three components: TP, FP and TDR, each being a vector.
The cutoff value of FDR.
The line width parameter to be passed on to the function lines().
A vector of at least four colors. It is used for the coloring of the two ROC curves.
Experiment labels in 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.fptp()