View source: R/performance_evaluation.R
calculate_auc | R Documentation |
Calculate AUPRC and AUROC values
calculate_auc(
network_table,
ground_truth,
plot = FALSE,
line_color = "#1563cc",
line_width = 1
)
network_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 |
AUC values and figure
data("example_matrix")
data("example_ground_truth")
network_table <- inferCSN(example_matrix)
calculate_auc(network_table, example_ground_truth, plot = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.