PoonLab / Kaphi

Kernel-embedded ABC-SMC for phylodynamic inference
GNU Affero General Public License v3.0
4 stars 2 forks source link

Implement simple compartmental models #52

Closed ArtPoon closed 7 years ago

ArtPoon commented 7 years ago

For starters:

See rcolgem-wrappers.R for an initial example.

ArtPoon commented 7 years ago

@artpoon to provide references explaining these models and implementation in rcolgem

ArtPoon commented 7 years ago

Wikipedia Original paper More recent work from Tanja Stadler

ArtPoon commented 7 years ago

@gtng92 has implemented some standard compartmental models as wrapper functions (writing the ODE expressions) but they don't yet call the deSolve package for numerical solution of the ODE, and to pass this solution to the coalescent tree simulating function of rcolgem.

Actions:

ArtPoon commented 7 years ago

rcolgem-wrappers.R is not a complete example, you may want to refer to Kaphi/drivers/simulate.SI.R

ArtPoon commented 7 years ago

Closing - make unit testing and validation separate issues.