Description Usage Arguments Value Author(s) Examples
View source: R/NetworkCreateR.R
This function creates a fictional metabolomics network according to the Barabasi-Albert model.
1 2 | NetworkCreateR(N, BA_power = 0.5, BA_mValue = 4, plothist = TRUE,
histbreaks = 50, ...)
|
N |
the number of nodes in the network (metabolites) |
BA_power |
(igrap parameter) The power of the preferential attachment. |
BA_mValue |
(igrap parameter) The number of edges to add in each time step |
plothist |
Whether to plot a histogram of the network's connectivity distribution |
histbreaks |
The number of breaks in the histogram |
... |
Optional additional arguments to be passed along to the network generator function |
A matrix with the network structure
Charlie Beirnaert, charlie.beirnaert@uantwerpen.be
1 2 | Network <- NetworkCreateR(N = 50, BA_power = 0.5, BA_mValue = 4)
image(Network)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.