Giter Site home page Giter Site logo

mem's Introduction

The Moving Epidemic Method R Package

Overview

The Moving Epidemics Method MEM is a tool developed in the Health Sentinel Network of Castilla y León (Spain) to help in the routine influenza surveillance in health systems. It gives a better understanding of the annual influenza epidemics and allows the weekly assessment of the epidemic status and intensity.

Although in its conception it was originally created to be used with influenza data and health sentinel networks, MEM has been tested with different respiratory infectious diseases and surveillance systems so nowadays it could be used with any parameter which present a seasonal accumulation of cases that can be considered an epidemic.

MEM development started in 2001 and the first record appeared in 2003 in the Options for the Control of Influenza V. It was presented to the baselines working group of the European Influenza Surveillance Scheme (EISS) in the 12th EISS Annual Meeting (Malaga, Spain, 2007), with whom started a collaboration that continued when, in 2008, was established the European Influenza Surveillance Network.

In 2009 MEM is referenced in an official European document: the Who European guidance for influenza surveillance in humans. A year later MEM was implemented in The European Surveillance System (TESSy), of the European Centre for Disease Prevention and Control (ECDC), and in 2012, after a year piloting, in the EuroFlu regional influenza surveillance platform, of the World Health Organization Regional Office for Europe (WHO-E).

As a result of the collaboration with ECDC and WHO-E, two papers have been published, one related to the establishment of epidemic thresholds and other to the comparison of intensity levels in Europe.

Installation

The stable package can be installed from the official R repositories (CRAN) using the built-in install function (or from the package manager in some GUIs for R):

# install the memapp CRAN version
install.packages("mem")

Or from the official repository:

if(!require("devtools")) install.packages("devtools")
library("devtools")
# install the mem stable version from GitHub
install_github("lozalojo/mem", ref = "master")

To install the development version of mem use the devtools package.

if(!require("devtools")) install.packages("devtools")
library("devtools")
# install the memapp development version from GitHub
install_github("lozalojo/mem", ref = "development")

Web application

There is a package that acts as a Graphical User Interface (GUI) for mem. The package is called memapp, you can find more information on the official repository:

memapp repository

Usage

# load the library
library("mem")

# run the help
help("mem")

References

Vega T, Lozano JE, Ortiz de Lejarazu R, Gutierrez Perez M. Modelling influenza epidemic—can we detect the beginning and predict the intensity and duration? Int Congr Ser. 2004 Jun;1263:281–3.

Vega T, Lozano JE, Meerhoff T, Snacken R, Mott J, Ortiz de Lejarazu R, et al. Influenza surveillance in Europe: establishing epidemic thresholds by the moving epidemic method. Influenza Other Respir Viruses. 2013 Jul;7(4):546–58. DOI:10.1111/j.1750-2659.2012.00422.x.

Vega T, Lozano JE, Meerhoff T, Snacken R, Beaute J, Jorgensen P, et al. Influenza surveillance in Europe: comparing intensity levels calculated using the moving epidemic method. Influenza Other Respir Viruses. 2015 Sep;9(5):234–46. DOI:10.1111/irv.12330.

Lozano JE. lozalojo/mem: Second release of the MEM R library. Zenodo [Internet]. [cited 2017 Feb 1]; Available from: https://zenodo.org/record/165983. DOI

Lozano JE. lozalojo/memapp: Second release of the MEM Shiny Web Application R package. Zenodo [Internet]. [cited 2018 Feb 15]; Available from: https://zenodo.org/record/1173518. DOI

mem's People

Contributors

lozalojo avatar lozanoje avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

mem's Issues

Error while plotting series chart.

This error occurred when I was drawing with sample data. The "series graph " made has no color and no legend of threshold.

library(mem)
data("flucyl")
full.series.graph("flucyl")
Error in sum(x, na.rm = T) : invalid 'type' (character) of argument
In addition: Warning messages:
1: In min(as.numeric(rownames(i.data)[1:3])) :
no non-missing arguments to min; returning Inf
2: In min(as.numeric(rownames(i.data)[1:(min(3, NROW(i.data)))])) :
no non-missing arguments to min; returning Inf
3: In max(as.numeric(rownames(i.data)[(max(1, NROW(i.data) - 2)):NROW(i.data)])) :
no non-missing arguments to max; returning -Inf

series graph

Default value for i.seasons in memmodel

Consider removing the default value of 10 for i.seasons in memmodel function. May inadvertently lead to the function including a week identifier column in calculations.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.