updateTransmissionTree {SMITIDvisu}R Documentation

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

## Not run: 
library(SMITIDvisu)
data(transmissionTree)
## server.R
transmissionTreeProxy("transmissionTreeoutput") %>% updatetransmissionTree(tt.nodes,tt.edges)

## End(Not run)

[Package SMITIDvisu version 0.0.9 Index]