R/performance.calculate.R
auc.calculate.Rd
AUC value calculate
auc.calculate( network_table, ground_truth, plot = FALSE, line_color = "#1563cc", line_width = 1 )
The weight data table of network
Ground truth for calculate AUC
If true, draw and print figure of AUC
The color of line in the figure
The width of line in the figure
AUC values and figure
data("example_matrix") data("example_ground_truth") network_table <- inferCSN(example_matrix) auc.calculate(network_table, example_ground_truth, plot = TRUE) #> AUROC AUPRC #> 1 0.963 0.495