Description Usage Arguments Value Author(s) Examples
Accessor and replacement functions for the roc
slot in a
COBRAPerformance
or COBRAPlot
object.
1 2 3 4 5 6 7 8 9 10 11 12 |
x |
A |
... |
Additional arguments. |
value |
A data frame giving information necessary to generate ROC curves for each method and each stratification level. |
The accessor function returns a data frame giving information necessary to generate ROC curves for each method and each stratification level.
Charlotte Soneson
1 2 3 4 | data(cobradata_example)
cobraperf <- calculate_performance(cobradata_example,
binary_truth = "status", aspects = "roc")
head(roc(cobraperf))
|
FPR TPR ROC_CUTOFF method basemethod meas fullmethod splitval
1 0 0.000000000 Inf edgeR edgeR __score edgeR_overall overall
2 0 0.001203369 12.81861 edgeR edgeR __score edgeR_overall overall
3 0 0.002406739 11.13995 edgeR edgeR __score edgeR_overall overall
4 0 0.003610108 10.65965 edgeR edgeR __score edgeR_overall overall
5 0 0.004813478 10.54001 edgeR edgeR __score edgeR_overall overall
6 0 0.006016847 10.38669 edgeR edgeR __score edgeR_overall overall
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.