Description Usage Arguments Examples
View source: R/plotTrajectory.r
Allows for visualization of Boolean state variables. If compare = TRUE
, the trajectory in BLACK is dataset1 and the trajectory in RED is dataset2.
1 2 3 4 5 |
dataset1 |
Trajectory to be viewed. Input is limited to 4 variables to allow for concise viewing. Shown in BLACK. |
labels |
Vector of labels to apply to plots |
dataset2 |
If |
compare |
Set |
byrow |
Set |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | data(p53net_DNAdsb1)
data <- simulateNetwork(p53net_DNAdsb1, n.data = 100, p = 0.02,
obsModel = list(type = 'Bernoulli',
q = 0.05))
plotTrajectory(data$X,
labels = p53net_DNAdsb1$genes)
#View both (original state trajectory and observation) datasets overlayed
plotTrajectory(data$X,
labels = p53net_DNAdsb1$genes,
dataset2 = data$Y,
compare = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.