View source: R/auc.calculate.R
auc.calculate | R Documentation |
AUC value calculate
auc.calculate(
weightDT,
groundTruth,
plot = FALSE,
lineColor = "#1563cc",
lineWidth = 1
)
weightDT |
The weight data table of network |
groundTruth |
Ground truth for calculate AUC |
plot |
If true, draw and print figure of AUC |
lineColor |
The color of line in the figure |
lineWidth |
The width of line in the figure |
AUC values and figure
library(inferCSN)
data("exampleMatrix")
data("exampleGroundTruth")
weightDT <- inferCSN(exampleMatrix)
auc <- auc.calculate(weightDT, exampleGroundTruth, plot = TRUE)
head(auc)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.