updateTransmissionTree {SMITIDvisu} | R Documentation |
update (redraw) an instance of a transmissionTree
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 |
## Not run: library(SMITIDvisu) data(transmissionTree) ## server.R transmissionTreeProxy("transmissionTreeoutput") %>% updatetransmissionTree(tt.nodes,tt.edges) ## End(Not run)