plotCTree | R Documentation |
Plot both phylogenetic and transmission trees using colors on the phylogeny
plotCTree(
tree,
showLabels = TRUE,
showStars = TRUE,
cols = NA,
maxTime = NA,
cex = 1
)
tree |
Combined phylogenetic/transmission tree |
showLabels |
Whether or not to show the labels |
showStars |
Whether or not to show stars representing transmission events |
cols |
Colors to use for hosts |
maxTime |
Maximum time to show on the x axis |
cex |
Expansion factor |
Returns invisibly the first parameter
plotCTree(simulateOutbreak())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.