PoonLab/twt: treeswithintrees

treeswithintrees (twt) is an R package for the coalescent (reverse time) simulation of host (transmission) trees and pathogen trees within host trees. It is designed to be flexible so that it can accommodate a range of models at different levels of diversity, such as compartmental epidemic models, e.g., susceptible-infected-recovered (SIR) models; cospeciation/cophylogeny models and models of compartmentalized within-host evolution, e.g., migration between the blood and genital tract. twt uses a conventional Gillespie method to sample a sequence of discrete stochastic events over reverse time.

Getting started

Package details

Author{Art FY Poon (@ArtPoon), Garway T Ng (@gtng92)}
MaintainerArt FY Poon <apoon42@uwo.ca>
LicenseGPL-3
Version0.0.1
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("remotes")
remotes::install_github("PoonLab/twt")
PoonLab/twt documentation built on Nov. 7, 2024, 4:18 a.m.