Plots the infection tree described in a transmat
object in one of several styles: phylogenetic tree, an un-rooted
network or a hierarchical tree.
# S3 method for transmat
plot(x, style = c("phylo", "network"), ...)
A transmat
object to be plotted
Character name of plot style. One of "phylo" or "network".
Additional plot arguments to be passed to lower-level plot functions (plot.network, plot.phylo, etc)
The phylo plot requires the ape
package. The options are
wrappers to other plot calls with some appropriate preset arguments.
plot.network
,plot.phylo