GithubHelp home page GithubHelp logo

resplab / bode Goto Github PK

View Code? Open in Web Editor NEW
0.0 4.0 1.0 73 KB

R package for the BODE (body-mass index, airflow obstruction, dyspnea, and excercise capacity index) index: predicts the risk of death from any and respiratory causes in COPD patients

Home Page: https://www.nejm.org/doi/full/10.1056/nejmoa021322

R 100.00%

bode's Introduction

R build status CRAN Status Project Status: Active โ€“ The project has reached a stable, usable state and is being actively developed.

bode

R package for the BODE (body-mass index, airflow obstruction, dyspnea, and excercise capacity index) index: predicts the risk of death from any and respiratory causes in COPD patients described in https://www.nejm.org/doi/full/10.1056/nejmoa021322.

Installation

You can download the latest development version from GitHub:

install.packages("remotes")
remotes::install_github("resplab/bode")

BODE Index

To get BODE index, you will need to pass in patient's risk factors. For example:

library(bode)
bode (FEV1 = 40, mMRC = 3, BMI = 22, walk = 100)

The BODEindex() function returns score with possible values range from 0 to 10, with higher scores indicating a higher risk of death from any and respiratory causes in COPD patients.

Cloud-based API Access

The PRISM platform allows users to access BODEindex through the cloud. A MACRO-enabled Excel-file can be used to interact with the model and see the results. To download the PRISM Excel template file for BODEindex please refer to the PRISM model repository.

Linux

In Ubuntu, you can call the API with curl:

curl \
-X POST \
-H "x-prism-auth-user: REPLACE_WITH_API_KEY" \
-H "Content-Type: application/json" \
-d '{"func":["prism_model_run"],"model_input":[{"FEV1": 40,"mMRC": 3,"BMI": 22,"walk": 100}]}' \
https://prism.peermodelsnetwork.com/route/bode/run

Citation

Please cite:

Celli, B. R., Cote, C. G., Marin, J. M., Casanova, C., Montes de Oca, M., Mendez, R. A., ... & Cabral, H. J. (2004). The body-mass index, airflow obstruction, dyspnea, and exercise capacity index in chronic obstructive pulmonary disease. New England Journal of Medicine, 350(10), 1005-1012.

bode's People

Contributors

aminadibi avatar aidakazemi avatar mirleo avatar

Watchers

James Cloos avatar Hamid Tavakoli avatar  avatar  avatar

Forkers

mirleo

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.