Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2024 May 2;40(5):btae312.
doi: 10.1093/bioinformatics/btae312.

Bayesian modelling of time series data (BayModTS)-a FAIR workflow to process sparse and highly variable data

Affiliations

Bayesian modelling of time series data (BayModTS)-a FAIR workflow to process sparse and highly variable data

Sebastian Höpfl et al. Bioinformatics. .

Abstract

Motivation: Systems biology aims to better understand living systems through mathematical modelling of experimental and clinical data. A pervasive challenge in quantitative dynamical modelling is the integration of time series measurements, which often have high variability and low sampling resolution. Approaches are required to utilize such information while consistently handling uncertainties.

Results: We present BayModTS (Bayesian modelling of time series data), a new FAIR (findable, accessible, interoperable, and reusable) workflow for processing and analysing sparse and highly variable time series data. BayModTS consistently transfers uncertainties from data to model predictions, including process knowledge via parameterized models. Further, credible differences in the dynamics of different conditions can be identified by filtering noise. To demonstrate the power and versatility of BayModTS, we applied it to three hepatic datasets gathered from three different species and with different measurement techniques: (i) blood perfusion measurements by magnetic resonance imaging in rat livers after portal vein ligation, (ii) pharmacokinetic time series of different drugs in normal and steatotic mice, and (iii) CT-based volumetric assessment of human liver remnants after clinical liver resection.

Availability and implementation: The BayModTS codebase is available on GitHub at https://github.com/Systems-Theory-in-Systems-Biology/BayModTS. The repository contains a Python script for the executable BayModTS workflow and a widely applicable SBML (systems biology markup language) model for retarded transient functions. In addition, all examples from the paper are included in the repository. Data and code of the application examples are stored on DaRUS: https://doi.org/10.18419/darus-3876. The raw MRI ROI voxel data were uploaded to DaRUS: https://doi.org/10.18419/darus-3878. The steatosis metabolite data are published on FairdomHub: 10.15490/fairdomhub.1.study.1070.1.

PubMed Disclaimer

Conflict of interest statement

None declared.

Figures

Fig. 1.
Fig. 1.
The FAIR BayModTS workflow reveals credible regions in the data space and allows statistical testing whether different datasets stem from the same data generating process. BayModTS applies a statistical Bayesian framework and a simulation model s(t,θ) to transform sparse and highly variable time series data into less noisy time courses with uncertainty estimates for model states. (A) Time series data and (B) retarded transient functions as a universal simulation model s(t,θ) are used as input together with parameter priors. (C) The Posterior distribution p(θ|D) is inferred using Markov Chain Monte Carlo sampling. (D) Simulated parameter posterior sample trajectories (Ensembles) are used to infer summary statistics that quantify model state uncertainties. We use 95% CI tubes. (E) Dynamics under different conditions can be visually compared via CI tubes.
Fig. 2.
Fig. 2.
BayModTS analysis calculates perfusion courses in ligated and nonligated liver lobes from MRI data after PVL. (A) Illustration of ligated (hypoperfused) and nonligated (hyperperfused) lobes of a rat liver subjected to PVL. (B) Exemplary MRI images for 0, 1, 2, 3, and 5 POD. The outlined area (orange) refers to the ROI annotation for RML. Perfusion is colour-coded, with yellow to red values indicating high values. (C) Boxplots of individual voxel values in the selected ROIs of n=5 animals per time point (raw data). (D) State-of-the-art visualization of MRI ROI data. Boxplots are based on per-animal averaged ROI voxel data. (E) BayModTS ensemble perfusion predictions with median (solid lines) and 95% CI tubes for all lobes. (F, G) Marginal distributions of the parameters σ and p0 per lobe, restricted to the 95% highest density interval.
Fig. 3.
Fig. 3.
Effect of severity and pattern of periportal steatosis on pharmacokinetics. (A) Mice were fed a normal diet for 2 weeks and a MCD and HF diet for 2 or 4 weeks. The MCD+HF diet induces hepatic microsteatosis after 2 weeks and macrosteatosis after 4 weeks. (B) Boxplots of plasma drug elimination time courses. The control group (red) consisted of n = 4 animals, while the 2 weeks (orange) and 4 weeks (yellow) groups consisted of n = 6 animals each. (C) Median ensemble prediction (dark lines) and 95% CI tubes of the BayModTS analysis with RTFs.

Similar articles

Cited by

References

    1. Abreu P, Ferreira R, Bussyguin DS. et al. Liver resections for metastasis: surgical outcomes of a single center academic institution. BMC Surg 2020;20:254. - PMC - PubMed
    1. Albadry M, Höpfl S, Ehteshamzad N. et al. Periportal steatosis in mice affects distinct parameters of pericentral drug metabolism. Sci Rep 2022;12:21825. - PMC - PubMed
    1. Campagnoli P, Petrone S, Petris G (eds.). Dynamic Linear Models with R. New York, NY: Springer, 2009.
    1. Chen C, Lavezzi SM, Iavarone L. et al. The area under the effect curve as an efficacy determinant for anti-infectives. CPT Pharmacometrics Syst Pharmacol 2022;11:1029–44. - PMC - PubMed
    1. Christ B, Collatz M, Dahmen U. et al. Hepatectomy-induced alterations in hepatic perfusion and function – toward multi-scale computational modeling for a better prediction of post-hepatectomy liver function. Front Physiol 2021;12:733868. - PMC - PubMed

Publication types

Grants and funding