Learn R Programming

SMITIDvisu (version 0.0.9)

updateTransmissionTree: updateTransmissionTree

Description

update (redraw) an instance of a transmissionTree

Usage

updateTransmissionTree(TTProxy, nodes, edges, options = NULL)

Arguments

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

See Also

transmissionTree

Examples

Run this code
# NOT RUN {
library(SMITIDvisu)
data(transmissionTree)
## server.R
transmissionTreeProxy("transmissionTreeoutput") %>% updatetransmissionTree(tt.nodes,tt.edges)
# }

Run the code above in your browser using DataLab