Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/multiplePRCPlot.R
for each dataset in the metaObject, prcPlot will return a ggplot of a Precision-Recall curve (and return the AUPRC) that describes how well a gene signature
(as defined in a filterObject
) classifies groups in a dataset (in the form of a datasetObject
).
1 2 | multiplePRCPlot(metaObject, filterObject, title = NULL,
legend.names = NULL, curveColors = NULL, size = 22)
|
metaObject |
a metaObject which must have |
filterObject |
a metaFilter object containing the signature genes that will be used for calculating the score |
title |
title of the plot |
legend.names |
the name listed for each dataset in the legend (default: the |
curveColors |
Graphical: vector of colors for the PRC curves |
size |
use this to easily increase or decrease the size of all the text in the plot |
Each PRC plot evaluates the ability of a given gene set to separate two classes. As opposed to ROC curves, PRC curves are more sensitive to class imbalances. 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 ggplot PRC plot for all datasets
Aditya M. Rao, Andrew B. Liu
1 2 | multiplePRCPlot(tinyMetaObject, filterObject =
tinyMetaObject$filterResults$pValueFDR0.05_es0_nStudies1_looaTRUE_hetero0)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.