auc.calculate {inferCSN} | R Documentation |
AUC value calculate
Description
AUC value calculate
Usage
auc.calculate(
weight_table,
ground_truth,
plot = FALSE,
line_color = "#1563cc",
line_width = 1
)
Arguments
weight_table |
The weight data table of network |
ground_truth |
Ground truth for calculate AUC |
plot |
If true, draw and print figure of AUC |
line_color |
The color of line in the figure |
line_width |
The width of line in the figure |
Value
AUC values and figure
Examples
library(inferCSN)
data("example_matrix")
data("example_ground_truth")
weight_table <- inferCSN(example_matrix)
auc.calculate(weight_table, example_ground_truth, plot = TRUE)
[Package inferCSN version 1.0.3 Index]