plotCTree {TransPhylo}R Documentation

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

cols

Colors to use for hosts

maxTime

Maximum time to show on the x axis

cex

Expansion factor

Value

Returns invisibly the first parameter

Examples

plotCTree(simulateOutbreak())

[Package TransPhylo version 1.4.5 Index]