network_random: Generates a network.

Description Usage Arguments Value Author(s) Examples

View source: R/global.R

Description

Generates a network.

Usage

1
network_random(nb, time_label, exp, init, regul, min_expr, max_expr, casc.level)

Arguments

nb

Integer. The number of genes.

time_label

Vector. The time points measurements.

exp

The exponential parameter, as in the barabasi.game function in igraph package.

init

The attractiveness of the vertices with no adjacent edges. See barabasi.game function.

regul

A vector mapping each gene with its number of regulators.

min_expr

Minimum of strength of a non-zero link

max_expr

Maximum of strength of a non-zero link

casc.level

...

Value

A network object.

Author(s)

Bertrand Frederic, Myriam Maumy-Bertrand.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
set.seed(1)
Net<-network_random(
	nb=100,
	time_label=rep(1:4,each=25),
	exp=1,
	init=1,
	regul=round(rexp(100,1))+1,
	min_expr=0.1,
	max_expr=2,
	casc.level=0.4
	)
plot(Net)

fbertran/Patterns documentation built on Dec. 4, 2019, 1:12 p.m.