mROC: mROC

Description Usage Arguments

View source: R/function.diff.R

Description

Plots superposed ROC curves.

Usage

1
2
mROC(tests, sig, show.AUC = TRUE, thres = 0.01, lwd = 2, rounding = 3,
  na.rm = TRUE, colors = NULL, ...)

Arguments

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.


plger/RNAontheBENCH documentation built on May 25, 2019, 8:22 a.m.