Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

compare-methods

Some basic criteria of comparison between actual and inferred network.


Description

Allows comparison between actual and inferred network.

Usage

## S4 method for signature 'network,network,numeric'
compare(Net, Net_inf, nv = 1)

Arguments

Net

A network object containing the actual network.

Net_inf

A network object containing the inferred network.

nv

A number that indicates at which level of cutoff the comparison should be done.

Value

A vector containing : sensibility, predictive positive value, and the F-score

Methods

list("signature(Net = \"network\", Net_inf = \"network\", nv = \"numeric\")")

Author(s)

Nicolas Jung, Frédéric Bertrand , Myriam Maumy-Bertrand.

References

Jung, N., Bertrand, F., Bahram, S., Vallat, L., and Maumy-Bertrand, M. (2014). Cascade: a R-package to study, predict and simulate the diffusion of a signal through a temporal gene network. Bioinformatics, btt705.

Vallat, L., Kemper, C. A., Jung, N., Maumy-Bertrand, M., Bertrand, F., Meyer, N., ... & Bahram, S. (2013). Reverse-engineering the genetic circuitry of a cancer cell with predicted intervention in chronic lymphocytic leukemia. Proceedings of the National Academy of Sciences, 110(2), 459-464.

Examples

data(Net)
data(Net_inf)

#Comparing true and inferred networks
F_score=NULL

#Here are the cutoff level tested
test.seq<-seq(0,max(abs(Net_inf@network*0.9)),length.out=200)
for(u in test.seq){
	F_score<-rbind(F_score,Cascade::compare(Net,Net_inf,u))
}
matplot(test.seq,F_score,type="l",ylab="criterion value",xlab="cutoff level",lwd=2)

Cascade

Selection, Reverse-Engineering and Prediction in Cascade Networks

v2.0
GPL (>= 2)
Authors
Frederic Bertrand [cre, aut] (<https://orcid.org/0000-0002-0837-8281>), Myriam Maumy-Bertrand [aut] (<https://orcid.org/0000-0002-4615-1512>), Laurent Vallat [ctb], Nicolas Jung [ctb]
Initial release
2021-03-18

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.