Plots the transmission matrix tree from from get_transmat
in one of three styles: a phylogram, a directed network, or
a transmission timeline.
# S3 method for transmat
plot(x, style = c("phylo", "network", "transmissionTimeline"), ...)
A transmat
object to be plotted.
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
).
The phylo
plot requires the ape
package. The
transmissionTimeline
plot requires that the ndtv
package.
network::plot.network
, plot.phylo
,
transmissionTimeline
.