Hostname: page-component-7d684dbfc8-w65q4 Total loading time: 0 Render date: 2023-09-24T06:56:11.819Z Has data issue: false Feature Flags: { "corePageComponentGetUserInfoFromSharedSession": true, "coreDisableEcommerce": false, "coreDisableSocialShare": false, "coreDisableEcommerceForArticlePurchase": false, "coreDisableEcommerceForBookPurchase": false, "coreDisableEcommerceForElementPurchase": false, "coreUseNewShare": true, "useRatesEcommerce": true } hasContentIssue false

Using R to Build and Assess Network Models in Biology

Published online by Cambridge University Press:  05 October 2011

G. Hartvigsen*
Department of Biology, SUNY Geneseo, Geneseo, NY 14454 USA
Corresponding author. E-mail:
Get access


In this paper we build and analyze networks using the statistical and programming environment R and the igraph package. We investigate random, small-world, and scale-free networks and test a standard problem of connectivity on a random graph. We then develop a method to study how vaccination can alter the structure of a disease transmission network. We also discuss a variety of other uses for networks in biology.

Research Article
© EDP Sciences, 2011

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)


Albert, R., Barabási, A.-L.. Statistical mechanics of complex networks. Reviews of Modern Physics, 74 (2002), 4797. CrossRefGoogle Scholar
G. Chartrand. Introductory graph theory. Dover Publications, 1985.
M. Crawley. The R book. John Wiley & Sons, 2007.
P. Dalgaard. Introductory Statistics with R, 2/e. Springer, 2008.
Erdös, P., Rényi, A.. On Random Graphs. I. Publicationes Mathematicae, 6 (1959), 290-297. Google Scholar
Euler, L.. Solutio problematis ad geometriam situs pertinentis. Commentarii academiae scientiarum Petropolitanae, 8 (1741), 128-140. Google Scholar
Hartvigsen, G., Dresch, J.M., Zielinski, A.L., Macula, A.J., Leary, C.C.. Network structure and vaccination strategy and effort interact to affect the dynamics of influenza epidemics. Journal of Theoretical Biology, 246, Vol. 2, (2007), 205213. CrossRefGoogle Scholar
Kermack, W.O., McKendrick, A.G.. A Contribution to the mathematical theory of epidemics. Proceedings of the Royal Society of London A, 115 (1927), 700721. CrossRefGoogle Scholar
M.E. Newman, A.-L. Barabási, D.J. Watts. The Structure and Dynamics of Networks. Princeton University Press, 2006.
M.E. Newman. Networks: an Introduction. Oxford University Press, 2010.
R Development Core Team. R: A language and environment for statistical computing. R Foundation for Statistical Computing (2010), Vienna, Austria. URL
Solomonoff, R., Rapoport, A.. Connectivity of random nets. Bulletin of Mathematical Biophysics, 13 (1951), 107. CrossRefGoogle Scholar
Watts, D.J., Strogatz, S.H.. Collective dynamics of "small-world" networks. Nature, 393 (1998), 440442. CrossRefGoogle ScholarPubMed
A.F. Zuur, E.N. Ieno, E.H.W.G. Meesters. A Beginner’s Guide to R, Springer, 2009.