Skip to content

Commit

Permalink
Include new example.
Browse files Browse the repository at this point in the history
  • Loading branch information
trvrb committed Feb 24, 2014
1 parent 0e87cf1 commit 595bd8d
Show file tree
Hide file tree
Showing 52 changed files with 51,925 additions and 185,121 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -45,10 +45,10 @@ The simulation will output a timeseries of region-specific prevalence and incide
[`out.timeseries`](example/out.timeseries). It will also sample viruses periodically and output their
geographic and antigenic locations to [`out.tips`](example/out.tips) and a tree connecting these samples
to [`out.branches`](example/out.branches). This file contains pairs of viruses, child and parent,
representing nodes in a genealogy.
representing nodes in a genealogy. Average values are output to [`out.summary`](example/out.summary).

If you have Mathematica, you can generate a number of figures from this output by running the
notebook [`antigen-analysis.nb`](antigen-analysis.nb).
notebook [`antigen-analysis.nb`](example/antigen-analysis.nb).

## Memory

Expand Down
91,815 changes: 0 additions & 91,815 deletions antigen-analysis.nb

This file was deleted.

61 changes: 61 additions & 0 deletions example/README.md
@@ -0,0 +1,61 @@
## Timeseries

### Prevalence

![](prevalence.png)

![](prevalenceSpatial.png)

### Incidence

![](incidence.png)

![](incidenceSpatial.png)

### Diversity

![](diversity.png)

![](diversitySpatial.png)

### TMRCA

![](tmrca.png)

![](tmrcaSpatial.png)

## Virus samples

### Map

![](mapClusters.png)

### Distance from origin

![](virusYearDistance.png)

### Cluster turnover

![](clusterTurnover.png)

### Incidence by cluster

![](incidenceClustersSpatial.png)

## Tree

## Tree with clusters

![](treeClusters.png)

## Tree with geography

![](treeSpatial.png)

## Time vs AG1

![](treeYearAG1Clusters.png)

## AG1 vs AG2

![](treeAG1AG2Clusters.png)
15,535 changes: 15,535 additions & 0 deletions example/antigen-analysis.nb

Large diffs are not rendered by default.

Binary file removed example/clusterTurnover.pdf
Binary file not shown.
Binary file added example/clusterTurnover.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed example/diversity.pdf
Binary file not shown.
Binary file added example/diversity.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed example/diversitySpatial.pdf
Binary file not shown.
Binary file added example/diversitySpatial.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed example/incidence.pdf
Binary file not shown.
Binary file added example/incidence.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed example/incidenceClustersSpatial.pdf
Binary file not shown.
Binary file added example/incidenceClustersSpatial.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed example/incidenceSpatial.pdf
Binary file not shown.
Binary file added example/incidenceSpatial.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed example/lagAG1Spatial.pdf
Binary file not shown.
Binary file removed example/mapClusters.pdf
Binary file not shown.
Binary file added example/mapClusters.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed example/netau.pdf
Binary file not shown.
Binary file removed example/netauSpatial.pdf
Binary file not shown.
119,644 changes: 32,512 additions & 87,132 deletions example/out.branches

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions example/out.mk

This file was deleted.

1 change: 0 additions & 1 deletion example/out.range

This file was deleted.

14 changes: 14 additions & 0 deletions example/out.summary
@@ -0,0 +1,14 @@
parameter full
diversity 2.2093
tmrca 2.1013
netau 10.7864
serialInterval 0.01209
antigenicDiversity 0.7292
N 3000000.0000
S 2996747.8140
I 3252.1860
R 0.0000
cases 8128.7080
sideBranchRate 0.7341
trunkRate 1.5154
mkRatio 2.0642
745 changes: 501 additions & 244 deletions example/out.timeseries

Large diffs are not rendered by default.

0 comments on commit 595bd8d

Please sign in to comment.