plotCTree: Plot both phylogenetic and transmission trees using colors on the phylogeny
Description
Plot both phylogenetic and transmission trees using colors on the phylogeny
Usage
plotCTree(
tree,
showLabels = TRUE,
showStars = TRUE,
cols = NA,
maxTime = NA,
cex = 1
)
Arguments
tree
Combined phylogenetic/transmission tree
showLabels
Whether or not to show the labels
showStars
Whether or not to show stars representing transmission events
maxTime
Maximum time to show on the x axis
Value
Returns invisibly the first parameter
Examples
Run this code# NOT RUN {
plotCTree(simulateOutbreak())
# }
Run the code above in your browser using DataLab