Data Resources

Many of our projects generate computer code, experimental data or both. Below we show excerpts of the code and data we have available. If you would access to the full scripts or data files, please get in touch here.


Preventing intrusive memories following trauma using Tetris

Iyadurai L., S.E. Blackwell, R. Meiser-Stedman, P.C. Watson, M.B. Bonsall, J.R. Geddes, A.C. Nobre and E.A. Holmes (2017) Preventing intrusive memories after trauma via a brief intervention involving Tetris computer game play in the emergency department: a proof-of-concept randomized controlled trial. Molecular Psychiatry (advance online publication 28 March 2017; doi: 10.1038/mp.2017.23)

Materials, data, statistical plan and time series analysis details are available from


Spatial aspects of evolution of resistance to genetic constructs in engineered sterile insects

Watkinson-Powell B. and N. Alphey (2017) Resistance to genetic insect control: Modelling the effects of space. Journal of Theoretical Biology, 413(1), 72-85. 

This project generated computer code (in R) and simulation data.  For access to the scripts, contact us or see the Dryad Digital Repository


Optimal control of resistance to transgenic Bt crops

Hackett, S.C. and M.B. Bonsall (2016) Type of fitness cost influences the rate of evolution of resistance to transgenic Bt crops. Journal of Applied Ecology, 53, 1391-1401.

The R code (version 3.13) used in this study is available from the Dryad Digital Repository, see, or contact us.


Time Series Applications to Bipolar Disorder

Holmes, E. A., Bonsall, M. B., Hales, S. A., Mitchell, H., Renner, F., Blackwell, S., Watson, P., Goodwin, G. M. & Di Simplicio, M. (2016) Applications of time-series analysis to mood fluctuations in bipolar disorder to promote treatment innovation: a case series. Translational Psychiatry,  6, e720.

Data file and code book available from


Computer Game Play and Memory Reconsolidation

James, E. L., Bonsall, M. B., Hoppitt, L., Tunbridge, E. M., Geddes, J. R., Milton, A. L., & Holmes, E. A. (2015) Computer game-play reduces intrusive memories of experimental trauma via reconsolidation update mechanisms. Psychological Sciences, 26, 1201-1215.

Materials, data file and code book are available from


Population Dynamics 

Strevens, C.J.M. and M.B. Bonsall (2011) Density-dependent population dynamics and dispersal in heterogeneous metapopulations. Journal of Animal Ecology, 80, 282-293.

The R code (for OS X) and example data for fitting population models to a bruchid time series are available from


Using engineered sterile insects to manage resistance to Bt crops

Alphey, N., P.G. Coleman, C.A. Donnelly and L. Alphey (2007) Managing insecticide resistance by mass release of engineered insects. Journal of Economic Entomology, 100, 1642-1649.

The model used to do this research was written in Excel (MS).  This screenshot gives a preview. We are happy to share further details on this.