COBRAData
object.calculate_performance(cobradata, binary_truth = NULL, cont_truth = NULL,
aspects = c("fdrtpr", "fdrtprcurve", "fdrnbr", "fdrnbrcurve", "tpr", "fpr",
"roc", "fpc", "overlap", "corr", "scatter", "deviation"), thrs = c(0.01,
0.05, 0.1), splv = "none", maxsplit = 3, onlyshared = FALSE,
thr_venn = 0.05, type_venn = "adjp", topn_venn = 100)
type_venn
is "adjp").type_venn
is "rank").fpr
, tpr
, fdrtpr
, fdrnbr
and overlap
aspects, results will only be calculated for methods where adjusted p-values
are included in the COBRAData
object, since these calculations make
use of specific adjusted p-value cutoffs. For fdrtprcurve
and
fdrnbrcurve
aspects, the score
observations will be
preferentially used, given that they are monotonically associated with the
adjusted p-values (if provided). If the score
is not provided, the
nominal p-values will be used, given that they are monotonically associated
with the adjusted p-values (if provided). In other cases, the adjusted
p-values will be used also for these aspects. For roc
and fpc
,
the score
observations will be used if they are provided, otherwise
p-values and, as a last instance, adjusted p-values. Finally, for the
corr
, scatter
and deviation
aspects, the score
observations will be used if they are provided, otherwise no results will be
calculated.data(cobradata_example)
cobraperf <- calculate_performance(cobradata_example,
binary_truth = "status",
aspects = c("fdrtpr", "fdrtprcurve",
"tpr", "roc"),
thrs = c(0.01, 0.05, 0.1), splv = "none")
Run the code above in your browser using DataLab