AUC: return AUC score for JointNets method

Description Usage Arguments Value Author(s) Examples

View source: R/AUC.R

Description

return AUC score for JointNets method

Usage

1
AUC(simulationresult, gm_method = "simule", lambdas, ...)

Arguments

simulationresult

output from the function simulation()

gm_method

method name from any one of the JointNets methods

lambdas

a vector of lambda values for the JointNets method to run with

...

extra parameters passed to the JointNets method such as lambda, epislon and etc, refer to each method for details (eg, ?simule)

Value

AUC score, a list of precisions and recalls

Author(s)

Zhaoyang Wang (Author), Zhaoyang Wang (maintainer) zw4dn@virginia.edu

Examples

1
2
3
4
5
6
7
simulationresult = simulation(n=c(100,100,100))
AUC_result = AUC(simulationresult,lambdas = seq(0.1,2,0.5),epsilon = 2)
AUC_result
graphics.off()
par(ask = FALSE)
par(mfrow = c(1, 1))
plot(AUC_result$fPM,AUC_result$tPM)

QData/JointNets documentation built on Nov. 17, 2019, 3:04 p.m.