Figure: Plot ROC or PR curve

Description Usage Arguments Examples

View source: R/Figure.R

Description

Plot ROC or PR curve

Usage

1
figure(ev, fig = "pr", two = FALSE, ...)

Arguments

ev

list containg the evaluation' metrics. Output of DREAM_Evaluation function

fig

charater of the kind of plot ("pr" or "roc")

two

logical indicating if the random extension should be marked or not

...

additional parameter to the plot

Examples

1
2
3
4
5
6
7
8
9
net <- matrix(rnorm(100),10,10)
GS <- matrix(rnorm(100),10,10)
GS[which(GS>0.5)]<-1
GS[GS!=1] <- 0
diag(GS) <- 0
net <- change_network_format(net)
GS <- change_network_format(GS)
Ev <- DREAM_Evaluation(GS,net)
Figure(Ev)

paubellot/DREAM_Evaluation documentation built on May 24, 2019, 8:22 p.m.