samzhang111 / seroprevalence-viz

Visualizations for the paper "Estimating SARS-CoV-2 seroprevalence and epidemiological parameters with uncertainty from serological surveys"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Covid seroprevalence visualization

Live at:

These interactive calculators accompany several recent manuscripts available at The Covid-19 Test Group.

Installation

First and foremost, a local installation of node.js is required. I recommend versioning your local installation of node using a tool such as n. The installation section there is very straightforward.

Next, a package manager is needed. If you do not have yarn installed, run

npm install -g yarn

(using sudo if necessary). See yarn installation instructions for different types of installation.

In the root of this directory, run yarn to install project dependencies.

Development

To develop the project, setup webpack to watch over the files by running

yarn run webpack --config webpack.config-calc1.js --watch

(picking the webpack configuration that corresponds with the file) then visit dev-dist/calculator1.html in a browser to view the application.

Deployment

To compile a production version of the code, run

yarn run webpack --config webpack.prod-calc1.js

Copy the resulting files in the dist/ folder as well as the corresponding css file (currently in the root directory) to the desired location. Modify the link and source tags within the final HTML to point to the correct location of the javascript and css files.

About

Visualizations for the paper "Estimating SARS-CoV-2 seroprevalence and epidemiological parameters with uncertainty from serological surveys"


Languages

Language:JavaScript 96.7%Language:HTML 2.9%Language:Python 0.2%Language:CSS 0.1%