plotTTree {TransPhylo} | R Documentation |
Plot a transmission tree in a detailed format
Description
Plot a transmission tree in a detailed format
Usage
plotTTree(ttree, w.shape, w.scale, showLabels = TRUE, maxTime = NA, cex = 1)
Arguments
ttree |
Transmission tree |
w.shape |
Shape parameter of the Gamma probability density function representing the generation time |
w.scale |
Scale parameter of the Gamma probability density function representing the generation time |
showLabels |
Whether or not to show the labels |
maxTime |
Maximum value of time to show on x axis |
cex |
Expansion factor |
Value
Returns invisibly the first parameter
Examples
plotTTree(extractTTree(simulateOutbreak()),2,1)
[Package TransPhylo version 1.4.5 Index]