impact.barplot.shiny | R Documentation |
A Shiny app to display the impact of a perturbation as a barplot
impact.barplot.shiny(sim, epsilon = 1e-05, main = "", cex.axis = 1)
sim |
the result from |
epsilon |
outomes below this in absolute magnitude are treated as zero. |
main |
text for plot title |
cex.axis |
character expansion factor for the edge labels |
This control constructs a barplot that shows the fraction of simulations in which a positive (orange), negative (blue) or zero (off white) outcome occurs at each node following a given perturbation.
The user may specify the perturbation of the nodes, and any outcome known from monitoring the network, and then construct a barplot of the frequency table of outcomes at each node.
## Not run: set.seed(32) ## Sample model edges <- parse.digraph(c( "E *-> D", "D *-> C", "C -> E", "E *-> B", "B *-> A", "A -> E", "D --> B")) edges <- enforce.limitation(edges) sims <- system.simulate(10, edges) impact.barplot.shiny(sims) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.