MyNixOS website logo
Description

Web tool for estimating under-five deaths caused by poor-quality antimalarials in sub-Saharan Afri….

This package allows users to calculate the number of under-five child deaths caused by consumption of poor quality antimalarials across 39 sub-Saharan nations. The package supports one function, that starts an interactive web tool created using the shiny R package. The web tool runs locally on the user's machine. The web tool allows users to set input parameters (prevalence of poor quality antimalarials, case fatality rate of children who take poor quality antimalarials, and sample size) which are then used to perform an uncertainty analysis following the Latin hypercube sampling scheme. Users can download the output figures as PDFs, and the output data as CSVs. Users can also download their input parameters for reference. This package was designed to accompany the analysis presented in: J. Patrick Renschler, Kelsey Walters, Paul Newton, Ramanan Laxminarayan "Estimated under-five deaths associated with poor-quality antimalarials in sub-Saharan Africa", 2014. Paper submitted.

pqantimalarials README.md

About

pqantimalarials is a R package that runs an interactive web tool which allows users to reproduce and modify the estimates of under-five deaths caused by poor-quality antimalarials in sub-Saharan Africa presented in:

J. Patrick Renschler, Kelsey Walters, Paul Newton, Ramanan Laxminarayan ."Estimated under-five deaths associated with poor-quality antimalarials in sub-Saharan Africa". 2014. Paper submitted.

The pqantimalarials package only has one function, and this function starts the interactive web tool:

webtool()

To close the web tool:

  • Interrupt R, usually by hitting Esc or Ctrl + C

Users set input parameters using interactive sliders:

  • the number of simulations for an uncertainty and sensitivity analysis
  • the case fatality rate of under-five malaria positive children who consume poor-quality antimalarials
  • the prevalence of poor-quality antimalarials

Users are able to download:

  • input settings (CSV)
  • output plots (PDF)
  • output data (CSV)

For a given set of input settings, the downloaded files are tagged with a randomly generated ID number - so that users can download results generated using different input settings, and later be able to reference which settings were used for what outputs.

You can track development of this package at: http://github.com/renschler/pqantimalarials

Set Up

This web tool has been made available as an R package. To install and run enter the following lines into your R console.

install.packages("pqantimalarials")

library(pqantimalarials)

webtool()

FAQ

Q: When I download the CSV files and PDFs, what do the numbers at the beginnings of the filenames mean?

A: For every set of inputs, a random number is generated to "tag" your downloads.That way if you are iterating over different input settings you will know which downloads belong to which input settings. Be sure to download the input CSV if you want to be able to look up exactly what input settings you used to generate your results.

Package Citations

  • Erich Neuwirth (2011). RColorBrewer: ColorBrewer palettes. R package version 1.0-5. RColorBrewer
  • Hadley Wickham (2007). Reshaping Data with the reshape Package. Journal of Statistical Software, 21(12), 1-20. reshape2
  • Frank E Harrell Jr (2013). rms: Regression Modeling Strategies. R package version 4.0-0. rms
  • Hadley Wickham (2011). The Split-Apply-Combine Strategy for Data Analysis. Journal of Statistical Software, 40(1), 1-29. plyr
  • RStudio and Inc. (2013). shiny: Web Application Framework for R. R package version 0.8.0.99. shiny.
Metadata

Version

0.2

License

Unknown

Platforms (75)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-darwin
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-darwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-windows