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.
Package details |
|
---|---|
Author | {Art FY Poon (@ArtPoon), Garway T Ng (@gtng92)} |
Maintainer | Art FY Poon <apoon42@uwo.ca> |
License | GPL-3 |
Version | 0.0.1 |
Package repository | View on GitHub |
Installation |
Install the latest version of this package by entering the following in R:
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.