| fcauc.comp.fptp {ROCS} | R Documentation |
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"))
roc.1 |
A list object with three components: TP, FP and TDR, each being a vector. |
roc.2 |
A list object with three components: TP, FP and TDR, each being a vector. |
FDR.cut |
The cutoff value of FDR. |
lwd |
The line width parameter to be passed on to the function lines(). |
colors |
A vector of at least four colors. It is used for the coloring of the two ROC curves. |
exp.labels |
Experiment labels in the plot. |
No 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()