Coder Social home page Coder Social logo

cryptic-ecoffs's Introduction

Binder

Reproducing the Tables and Figures in the CRyPTIC ECOFF/ECV paper

This repository contains a jupyter notebook that reads in the raw data from the CRyPTIC project and reproduces the vast majority of the Tables and Figures in the below peer-reviewed paper.

Epidemiological cutoff values for a 96-well broth microdilution plate for high-throughput research antibiotic susceptibility testing of M. tuberculosis

The CRyPTIC Consortium

European Respitatory Journal doi:10.1183/13993003.00239-2022

Running the notebook

Using MyBinder

The easiest way by far is to click the launch binder button at the top of this document. This will open a MyBinder session which will install all the required software on a remote container (this can take a few minutes) and furnish you the notebook in browser. You can then run each cell in turn, or add new cells and write your own Python/Pandas code to interrogate the data and analysis. The graphs are, however, not written to the graphs/ folder when using MyBinder. For that you need to install it locally.

Installing locally

This requires a little more knowledge, but if you have any Python experience should be familiar. In brief, in a terminal

$ git clone [email protected]:fowler-lab/cryptic-ecoffs.git
$ cd cryptic-ecoffs/
$ pip install .
$ jupyter-lab reproduce-tables-and-figures.ipynb

The last command should open a window in your default browser and load the notebook. Again, like with MyBinder you can then step through and run all the cells. All the graphs are written as PDF files to graphs/ and are identical to the ones in the manuscript.

cryptic-ecoffs's People

Contributors

philipwfowler avatar

Stargazers

 avatar

Watchers

 avatar

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.