simulateNetwork: Simulate a threshold PBN.

Description Usage Arguments Value Examples

Description

From a given starting configurations, simulate the network Emax times for Tmax steps in every single timeseries.

Usage

1
2
simulateNetwork(net, Tmax, Emax, start = "random", start.values,
  fix.genes = -1, fix.values = -1)

Arguments

net

The network from which the timeseries is generated.

Tmax

The number of time points per timeseries.

Emax

The number of timeseries.

start

If "random", gene values are initialized randomly.

start.values

If start is not "random" these start values are used.

fix.genes

Vector of genes to be kept fixed at a certain level.

fix.values

Vector of values at which genes should be fixed.

Value

A list of timeseries.

Examples

1
2
net <- createNetwork(inputProbabilities=1, 5, 2, "homogeneous")
ts.multi <- simulateNetwork(net, 10, 50) # Creates 50 timeseries à 10 points

davidkwca/inferTPBN documentation built on May 9, 2019, 12:53 p.m.