Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/ROC_and_search_functions.R
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
).
1 |
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 |
title |
Title for the ROC plot. |
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).
Returns a ggplot2 plot object
Timothy E. Sweeney
1 | rocPlot(tinyMetaObject$filterResults[[1]], tinyMetaObject$originalData[[1]])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.