code for generating table and figures from doi:10.1371/journal.pcbi.1003327