Plot the ROC curves for various injected signal sizes

plotRocsInjectedSignals(logRr, trueLogRr, showAucs, fileName = NULL)

Arguments

logRr

A vector containing the log of the relative risk as estimated by a method.

trueLogRr

A vector containing the injected log(relative risk) for each estimate.

showAucs

Should the AUCs be shown in the plot?

fileName

Name of the file where the plot should be saved, for example 'plot.png'. See the function ggsave in the ggplot2 package for supported file formats.

Value

A Ggplot object. Use the ggsave function to save to file.