Skip to content
Reconstruction of transmission trees using genomic data
R C++
Branch: master
Clone or download
Latest commit 8268796 Feb 11, 2020
Type Name Latest commit message Commit time
Failed to load latest commit information.
R Improved dependencies Sep 20, 2019
docs v1.3.2 Feb 11, 2020
inst adding website Jun 19, 2018
man Improve usability Dec 12, 2018
src Update src/probTTree.cpp Oct 22, 2018
tests Linear within-host simulation Mar 1, 2019
.Rbuildignore v1.3.2 Feb 11, 2020
.gitignore pass CRAN tests Oct 31, 2017
.travis.yml travis Jun 18, 2018
DESCRIPTION v1.3.2 Feb 11, 2020
LICENSE v1.3.2 Feb 11, 2020
README.Rmd v1.3.2 Feb 11, 2020 Update Feb 11, 2020
TransPhylo.Rproj pass CRAN tests Oct 31, 2017


Travis-CI Build Status codecov GitHub


This is the homepage of TransPhylo, a software package that can reconstruct infectious disease transmission using genomic data. The input is a dated phylogeny, where leaves correspond to pathogens sampled from the known infected hosts. The main output is a transmission tree which indicates who infected whom, including the potential existence of unsampled individuals who may have acted as missing transmission links. TransPhylo works by colouring the branches of the phylogeny using a separate colour for each host, sampled or not. Each section of the tree coloured in a unique colour represents the pathogen evolution happening within a distinct host. Changes of colours on branches therefore correspond to transmission events from one host to another.

For example, in the tree below, the outbreak started with the unsampled host 8, who transmitted to sampled host 4, who transmitted to unsampled host 3, who transmitted to both sampled hosts 1 and 2. Host 8 also transmitted to unsampled host 7 who transmitted to both sampled hosts 5 and 6.

For a more formal description of TransPhylo, see the following paper:

Didelot, Fraser, Gardy and Colijn (2017) Genomic infectious disease epidemiology in partially sampled and ongoing outbreaks Molecular Biology and Evolution, 34:997-1007


You can install TransPhylo in R using the following command:



See the TransPhylo tutorial at This tutorial is also available within the R package as a vignette. The TransPhylo reference manual is available at

Getting help

If you need assistance using TransPhylo, you can get in touch by emailing


If you are looking for the older Matlab version of TransPhylo described in Didelot et al (2014) Molecular Biology and Evolution 31:1869-1879, please note that this has now been moved to the repository TransPhyloMatlab, available at

You can’t perform that action at this time.