rocPlot will plot an ROC curve (and return the AUC) that describes how well a gene signature (as defined in a filterObject) classifies groups in a dataset (in the form of a datasetObject).
Usage
rocPlot(filterObject, datasetObject, title = datasetObject$formattedName)
Arguments
filterObject
a MetaFilter object containing the signature genes that will be used for calculation of the ROC plot.
datasetObject
a Dataset object for group comparison in the ROC plot. (At least, must have a $expr of probe-level data, $keys of probe:gene mappings, and $class of two-class labels.)
title
Title for the ROC plot.
Value
Returns a ggplot2 plot object
Details
Evaluates the ability of a given gene set to separate two classes. The gene set is evaluated as a Z-score of the difference in means between the positive genes and the negative genes (see calculateScore). Returns a standard ROC plot, plus AUC with 95% CI (calculated according to Hanley method).