getROC: get Receiver Operator Characterostocs plot and data

Description Usage Arguments Value Author(s)

View source: R/getROC.R

Description

This function can be used to generate the pseudo-recall plot

Usage

1
getROC(data, scores, p.title = NULL, fdr_threshold = c(0.01, 0.05))

Arguments

data

A data.table containing p-value/q-value score and true class labels

scores

A character vector of the data column name scores to compute the pseudo-recall for

p.title

A character to label plot

fdr_threshold

A numeric vector to add fdr threshold lines to the plot. Default: fdr_threshold = c(0.01, 0.05)

Value

A list containing the ROC data and a ggplot

Author(s)

Justin Sing https://github.com/singjc


singjc/mstools documentation built on June 28, 2020, 8:10 p.m.