usz_13c {breathtestcore}R Documentation

Zurich sample set of 13C breath test data

Description

13C time series PDR data from normals and random patients from the division of Gastroenterology and Hepatology, University Hospital Zurich. Most breath samples from normals were collected with bags and analyzed by IRIS/Wagner infrared spectroscopy. Patient samples were recorded with the continuous monitoring system BreathID.

patient_id

Patient identifier, starting with norm for normals (healthy volunteers) and pat for patients. Note that for normals there are two records for each subject, so only the combination of patient_id and group is a unique identifier of the time series record.

group

liquid_normal for normals and liquid meal, solid_normal normals and solid meal, and patient for patients from the University Hospital of Zurich.

minute

Time in minutes

pdr

PDR as computed by breathtest device or from dob via function dob_to_pdr

Usage

data(usz_13c)

Format

A data frame with 15574 rows and 4 variables

Examples

data(usz_13c)
## Not run: 
str(usz_13c)
# Plot all records; this needs some time
pdf(file.path(tempdir(), "usz_13c.pdf"), height= 30)
# null_fit makes data plotable without fitting a model
plot(null_fit(usz_13c))
dev.off()

## End(Not run)
# Plot a subset
suppressPackageStartupMessages(library(dplyr))
usz_part =  usz_13c  %>% 
  filter(patient_id %in% c("norm_001","norm_002", "pat_001", "pat_002"))
plot(null_fit(usz_part))

[Package breathtestcore version 0.8.7 Index]