fcauc.fptp: Generating ROC plot with shading based on FDR using...

Description Usage Arguments Value Author(s) References See Also

View source: R/fcauc.fptp.R

Description

The function plots the ROC curve using user-provided FPR, TPR, FDR values. It shades the area corresponding to acceptable FDR level. The FDR-controlled area under the curve (FCAUC) is calculated for the shaded area.

Usage

1
fcauc.fptp(FP, TP, TDR, FDR.cut = 0.2, do.plot=TRUE)

Arguments

FP

Vector of false positive rate.

TP

Vector of true positive rate.

TDR

Vector of true discovery rate.

FDR.cut

The cutoff value of FDR, for the purpose of FCAUC cualculation.

do.plot

Whether to generate the plot.

Value

The FCAUC value is returned.

Author(s)

Tianwei Yu. Email: [email protected]

References

Yu T (2012) ROCS: Receiver Operating Characteristic Surface for Class-Skewed High-Throughput Data. PLoS ONE 7(7): e40598.

See Also

fcauc.x


ROCS documentation built on May 2, 2019, 9:42 a.m.