Description Usage Arguments Value See Also Examples
Function that changes the format of the Average_simulation.f output matrix or the output of the attractor analysis in order to plot these results using ggplot2 package.
1 | toggplot(x)
|
x |
The output matrix of the Average_simulation.f function or the output vector of probabilities of activation of the nodes of the Get_attractor.f or Get_attractor_parallel.f functions. |
A data.frame with the appropriate structure to plot the results using the ggplot2 package.
See Also Average_simulations.f
Get_Attractor.f
Get_Attractor_parallel.f
1 2 3 4 5 6 7 8 9 10 | #Output matrix of the Average_simulations.f function of an example network:
data("AVG_cellcycle")
#Plot the results with ggplot2:
AVG2<-toggplot(AVG_cellcycle)
library(ggplot2)
ggplot(data=AVG2,aes(x=time,y=value)) +
geom_line( colour="#336600",size = 1.5) + ylab(" % of activation") +
xlab("Iterations") + facet_wrap(~variable)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.