| fdrtpr {iCOBRA} | R Documentation |
fdrtpr slotAccessor and replacement functions for the fdrtpr slot in a
COBRAPerformance or COBRAPlot object.
fdrtpr(x, ...) fdrtpr(x, ...) <- value ## S4 method for signature 'COBRAPerformance' fdrtpr(x) ## S4 replacement method for signature 'COBRAPerformance,data.frame' fdrtpr(x) <- value ## S4 replacement method for signature 'COBRAPlot,data.frame' fdrtpr(x) <- value
x |
A |
... |
Additional arguments. |
value |
A data frame giving information about the observed FPR and TPR for each method and each stratification level, at various adjusted p-value thresholds. |
The accessor function returns a data frame giving information about the observed FPR and TPR for each method and each stratification level, at various adjusted p-value thresholds.
Charlotte Soneson
data(cobradata_example)
cobraperf <- calculate_performance(cobradata_example,
binary_truth = "status",
aspects = "fdrtpr")
head(fdrtpr(cobraperf))