README.md

breathtestcore: 13C breath test to analyze gastric emptying

Dieter Menne Menne Biomed Consulting Tübingen, Germany http://www.menne-biomed.de dieter.menne\@menne-biomed.de

R build
status CRAN CRAN Codecov test
coverage

Menne Biomed Consulting Tübingen, Germany https://www.menne-biomed.de

dieter.menne\@menne-biomed.de

This is a reboot of R package dmenne/d13cbreath which is no longer maintained.

What it does

Sponsors and supporters

The software is being developed in cooperation with the Department of Gastroenterology of the University Hospital of Zürich and Claraspital Basel. Thanks to Benjamin Misselwitz, Mark Fox and Werner Schwizer.

How to install

To install the most recent versions of the package, use

devtools::install_github("dmenne/breathtestcore", build_vignettes = TRUE)
# In case you want to use the fancy Stan-based methodes
devtools::install_github("dmenne/breathteststan")
# And here the web app; this is not on CRAN and must be installed from github
devtools::install_github("dmenne/breathtestshiny", build_vignettes = TRUE)

Do not forget to use build_vignettes = TRUE.

Stable version of the packages breathtestcore and breathteststan can also be installed from CRAN.

For an easy installation, use the Docker image dmenne/breathtestshiny

You can run the web app online. No data are stored, but you can download all results and a series of tests for studies.

Usage example

This example is from the documentation of function nlme_fit.

library(breathtestcore)
d = simulate_breathtest_data(n_records = 3, noise = 0.2, seed = 4711)
data = cleanup_data(d$data)
fit = nlme_fit(data)
plot(fit) # calls plot.breathtestfit

For additional examples, see the documentation and the tests in folder tests/testthat of the source package.

Status

The core fitting functions and the Stan variants are stable and have versions on CRAN. The Shiny web app is only available on github; a CRAN release is not planned. Online demo, source code.

Reference:



dmenne/breathtestcore documentation built on Feb. 2, 2024, 6:12 p.m.