plot.transmat: Plot transmat Infection Tree in Three Styles

View source: R/dendo.R

plot.transmatR Documentation

Plot transmat Infection Tree in Three Styles

Description

Plots the transmission matrix tree from from get_transmat in one of three styles: a phylogram, a directed network, or a transmission timeline.

Usage

## S3 method for class 'transmat'
plot(x, style = c("phylo", "network", "transmissionTimeline"), ...)

Arguments

x

A transmat object to be plotted.

style

Character name of plot style. One of "phylo", "network", or "transmissionTimeline".

...

Additional plot arguments to be passed to lower-level plot functions (plot.network, plot.phylo, or transmissionTimeline).

Details

The phylo plot requires the ape package. The transmissionTimeline plot requires that the ndtv package.

See Also

plot.network, plot.phylo, transmissionTimeline.


statnet/EpiModel documentation built on March 30, 2024, 11:26 a.m.