Description Usage Arguments See Also Examples
View source: R/transmissionTreeProxy.R
update (redraw) an instance of a transmissionTree
1 | updateTransmissionTree(TTProxy, nodes, edges, options = NULL)
|
TTProxy |
transmissionTreeProxy instance |
nodes |
a data.frame that represent hosts status in time with ID, status and time in columns |
edges |
a data.frame that represent tramsmission link between hosts (pathogens) with ID, source, weight, target and time in columns |
options |
transmissionTree new options |
1 2 3 4 5 6 7 | ## Not run:
library(SMITIDvisu)
data(transmissionTree)
## server.R
transmissionTreeProxy("transmissionTreeoutput") %>% updatetransmissionTree(tt.nodes,tt.edges)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.