network_random: Generates a network.

View source: R/global.R

network_randomR Documentation

Generates a network.

Description

Generates a network.

Usage

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 omics_network object.

Author(s)

Bertrand Frederic, Myriam Maumy-Bertrand.

Examples


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. 8, 2022, 8:48 p.m.