updateTransmissionTree: updateTransmissionTree

Description Usage Arguments See Also Examples

View source: R/transmissionTreeProxy.R

Description

update (redraw) an instance of a transmissionTree

Usage

1
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

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)

SMITIDvisu documentation built on Feb. 8, 2021, 9:06 a.m.