Description Usage Arguments Value Author(s) References See Also
View source: R/fcauc.comp.fptp.R
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.
1 2 3 | 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()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.