auc.calculate: AUC value calculate

View source: R/auc.calculate.R

auc.calculateR Documentation

AUC value calculate

Description

AUC value calculate

Usage

auc.calculate(
  weightDT,
  groundTruth,
  plot = FALSE,
  lineColor = "#1563cc",
  lineWidth = 1
)

Arguments

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

Value

AUC values and figure

Examples

library(inferCSN)
data("exampleMatrix")
data("exampleGroundTruth")
weightDT <- inferCSN(exampleMatrix)
auc <- auc.calculate(weightDT, exampleGroundTruth, plot = TRUE)
head(auc)


inferCSN documentation built on Nov. 2, 2023, 6:27 p.m.