View source: R/function.diff.R
Plots superposed ROC curves.
1 2 |
tests |
A list of tests, each element of which should be a data.frame with a "p" column indicating the p-value under that test. |
sig |
A logical vector indicating whether each row of elements in 'tests' is actually differentially-expressed (TRUE) or not. If this is a named vector, the names will be used to order the rows in 'tests', otherwise they are assumed to be ordered in the same way. |
show.AUC |
Logical; whether to show the area under the curve in the figure's legend. Default TRUE. |
thres |
Numeric value between 0 and 1, indicating the p-value treshold to be plotted on each curve. Set to NULL to plot no threshold. |
lwd |
Line width, passed to the plotting functions. Default 2. |
rounding |
The rounding (number of digits) of log-transformed p-values at which to plot (default 3). Increasing this number will increase the resolution of the curve, but also increase execution time. |
colors |
A vector of colors for the different tests. If NULL (default), R basic colors are used. |
... |
Any further argument passed to the initial plot function. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.