plotTTree: Plot a transmission tree in a detailed format

View source: R/plotTTree.R

plotTTreeR 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)

xavierdidelot/TransPhylo documentation built on Sept. 28, 2023, 7:20 p.m.