| plotTrajectory {BoolFilter} | R Documentation | 
Plot state variables of Boolean Regulatory Systems
Description
Allows for visualization of Boolean state variables. If compare = TRUE, the trajectory in BLACK is dataset1 and the trajectory in RED is dataset2.
Usage
plotTrajectory(dataset1, 
               labels = NA, 
               dataset2 = NA, 
               compare = FALSE, 
               byrow = TRUE)
Arguments
| 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  | 
Examples
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)
[Package BoolFilter version 1.0.0 Index]