NetworkCreateR: NetworkCreateR

Description Usage Arguments Value Author(s) Examples

View source: R/NetworkCreateR.R

Description

This function creates a fictional metabolomics network according to the Barabasi-Albert model.

Usage

1
2
NetworkCreateR(N, BA_power = 0.5, BA_mValue = 4, plothist = TRUE,
  histbreaks = 50, ...)

Arguments

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 sample_pa.

Value

A matrix with the network structure

Author(s)

Charlie Beirnaert, charlie.beirnaert@uantwerpen.be

Examples

1
2
Network <- NetworkCreateR(N = 50, BA_power = 0.5, BA_mValue = 4)
image(Network)

MetaboLouise documentation built on May 2, 2019, 7:24 a.m.