Description Usage Arguments Details Value Author(s) References See Also Examples
View source: R/networkProperties.R
Function plots degree distribution of nodes in a given network.
1 | networkProperties(igr)
|
igr |
an object or list of objects of class |
Biological networks are thought to be scale-free. Scale-free networks follow a power-law distribution of the degrees of nodes in the network. This distribution is characterised by the degree exponent gamma, which for biological networks ranges between 2 and 3.
The function calculates the degree exponent(s) of given network(s) in comparison with degree exponents of biological networks derived from Reactome and BioGRID repositories. Both of these networks are built using functional interaction pairs extracted from mentioned repositories and provided in FIs
data package (see example).
For each given igraph
three types of plots are created: empirical cumulative distribution, degree distribution and power-law degree distribution on log-log scale with fitted trend line.
A summary table containing number of nodes, number of edges and degree exponents for each given network.
Additionally two .pdf files are created. One containing empirical cumulative distribution frequency plots together with degree distributions and second with plots of power-law degree distribution on log-log scale.
Agata Michna, Martin Selmansberger
Barabasi, A. L. and Albert, R. (1999). Emergence of scaling in random networks. Science 286, 509-512.
Barabasi, A. L. and Oltvai, Z. N. (2004). Network biology: understanding the cell's functional organization. Nat. Rev. Genet. 5, 101-113.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## load "eSetObject" containing simulated time-course data
data(TCsimData)
## reconstruct gene association networks from time-course data
igr <- splineNetRecon(eSet = TCsimData, treatmentType = "T2", cutoff.ggm = c(0.8,0.9))
## check for scale-free properties of reconstructed networks (igraphs)
scaleFreeProp <- networkProperties(igr)
head(scaleFreeProp)
## the functional interaction pairs provided in FIs data package
library(FIs)
data(FIs)
names(FIs)
head(FIs$FIs_Reactome)
head(FIs$FIs_BioGRID)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.