Update COBRAPerformance or COBRAPlot object to the current version of the class format
Source: R/COBRAPerformance.R
update_cobraperformance.RdUpdate a COBRAPerformance or COBRAPlot object generated by a
previous version of the package to the latest version.
Examples
data(cobradata_example_sval)
cobradata <- cobradata_example_sval
cobraperf <- calculate_performance(cobradata,
binary_truth = "status",
aspects = "fpr")
#> column Method3 is being ignored for NBRS calculations
#> column Method3 is being ignored for FPR calculations
cobraperf <- update_cobraperformance(cobraperf)
#> Object up to date