plotTrajectory: Plots individual node dynamics

Description Usage Arguments Examples

View source: R/plotTrajectory.R

Description

Given the result of simulate() (an object of class "simulation"), plots the dynamics of the specified nodes over time. Specify nodes by their names.

Usage

1
plotTrajectory(simulation, nodeNames)

Arguments

simulation

The result of simulate().

nodeNames

The names of the nodes to plot. Minimum one name. Maximum six names, as the plot would get cluttered beyond this number.

@return Shows a plot of the simulated trajectory.

Examples

1
2
3
4
5
6
7
## Not run: 
  x0 <- Repressilator[1, 2:7]
  ugene <- inferNetwork(Repressilator)
  trajectory <- simulateUGENE(ugene, x0)
  plotTrajectory(trajectory, c("p3", "p2", "p1"))

## End(Not run)

tianyu-lu/dynUGENE documentation built on Jan. 7, 2021, 6:27 p.m.