Description Usage Arguments Value Examples
Computes the points on an ROC curve by varying a threshold on the sorted outputs of the method in question.
1 |
outputs |
A numeric vector with the outputs of the evaluated method (e.g. likelihoods from gprege). |
groundTruthLabels |
A binary vector than contains the ground truth (e.g. which genes belong in the top-100 ground truth list). |
decreasing |
Logical. TRUE sorts outputs by decreazing order. |
stats |
A list of numeric variables with the necessary statistics to compute an ROC curve, a precision-recall curve, etc. |
1 2 3 | ## see compareROC.R
data(FragmentDellaGattaData) ## Load demo data.
rocStats(gpregeOutput$rankingScores, DGatta_labels_byTSNItop100, decreasing=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.