bioRxiv Science⌕ Search

Biology subjects

Bergman, D. R.

Publications and source records attributed to Bergman, D. R..

9 recordsLinked to original sources

UQ-PhysiCell: An extensible Python framework for uncertainty quantification and model analysis in PhysiCell

Agent-based models (ABMs) are widely used to study complex multiscale biological systems, particularly in cancer research. However, their high-dimensional parameter spaces, stochasticity, and computational costs pose significant challenges for uncertainty quantification, calibration, and systematic comparison of competing mechanistic hypotheses. PhysiCell has evolved into a growing ecosystem of open-source tools supporting physics-based multicellular modeling, including model construction, visualization, experimental data integration (e.g., spatial multiomics), and downstream output analysis. However, despite these advances, systematic support for uncertainty-aware model analysis, scalable parameter exploration, and formal calibration workflows remains limited. Here, we introduce UQ-PhysiCell, an open-source Python package that enables uncertainty quantification, calibration, and model selection for PhysiCell models using a modular and scalable workflow. UQ-PhysiCell acts as a manager of PhysiCell simulation inputs and outputs, including parameters, initial conditions, rules, and MultiCellDS-compliant objects, and provides automated orchestration of large ensembles of simulations. The framework supports multiple levels of parallelism to accelerate the analysis, including the parallel execution of independent simulations, stochastic replicates, and downstream analysis tasks. UQ-PhysiCell integrates directly with established Python libraries for sensitivity analysis, optimization, Bayesian inference, and surrogate modeling, allowing users to construct customized pipelines that match their modeling goals and computational resource requirements. UQ-PhysiCell decouples model execution from statistical analysis and emphasizes extensibility and reproducibility. This lowers the barrier to rigorous uncertainty-aware analysis and supports systematic evaluation of PhysiCell models in biological and biomedical research. Author summaryWe developed UQ-PhysiCell to address a key challenge in agent-based modeling: the systematic quantification of uncertainty in complex stochastic simulations. PhysiCell is widely used to model multicellular biological systems, particularly in cancer research; however, practical tools for uncertainty analysis, calibration, and model comparison are often developed in an ad hoc manner. This makes the results difficult to reproduce and limits the ability to rigorously evaluate competing biological hypotheses. UQ-PhysiCell provides a flexible Python framework that manages the inputs and outputs of PhysiCell simulations and enables large-scale computational analysis. We designed the software to be modular, allowing users to build their own analysis pipelines and combine different methodologies for sensitivity analysis, calibration, and model selection. Rather than enforcing a single workflow, UQ-PhysiCell supports customization to match specific scientific questions and computational requirements. To make uncertainty-aware analyses feasible for computationally intensive agent-based models, UQ-PhysiCell implements multiple parallelism strategies, enabling the concurrent execution of simulations, stochastic replicates, and downstream analyses. UQ-PhysiCell promotes reproducibility, scalability, and methodological flexibility. This helps researchers move beyond single best-fit simulations toward more reliable and interpretable computational modeling.

systems biology↗

Tumor-immune trajectory context connects static tissue architecture to clinical outcomes

Multiplexed tissue imaging (MTI) has revealed recurrent tumor microenvironment (TME) architectures with prognostic value, yet these measurements are inherently static, obscuring dynamic changes in the TME that govern therapeutic response. Here, we introduce a trajectory-centric framework that reconstructs continuous TME dynamics by integrating agent-based mathematical modeling and simulation with state space analysis. This approach yields a mechanistically constrained reference landscape built entirely from in silico simulation, and onto which static patient biospecimens can be projected and mapped onto simulated TME trajectories. Systematic simulation of tumor-immune interactions in triple-negative breast cancer identifies six metastable TME states connected by transition pathways spanning immune control to immune escape. Mapping MTI data from two independent patient cohorts, including longitudinal samples from a randomized immunotherapy trial, validates this landscape by positioning individual biospecimens along inferred TME trajectories rather than in static states. We show that treatment-phase TME states, but not pre-treatment configurations, robustly predict immunotherapy response, and identical terminal states can arise from distinct trajectory histories corresponding to immune failure or resolved inflammation. Thus, this framework enables mechanistic simulations to define a reference dynamical landscape that serves as a coordinate system for interpreting static clinical spatial data, providing a principled basis for evaluating consistency, predictiveness, and clinical relevance across independent patient cohorts. Altogether, this study advances spatial tumor profiling from static state classification of human tissues to dynamic trajectory inference, establishing a quantitative framework for trajectory-informed, state-guided, and temporally adaptive immunotherapy strategies.

cancer biology↗

Enhancing Predictive Accuracy in Immunotherapy Models through Data Integration and Parameter Identifiability

Immune checkpoint inhibitors (ICIs), a class of immunotherapy, offer promising benefits but face challenges such as low response rates to be used as a broadly effective treatment for all patients. In this study, we use a set of ordinary different equation (ODE) models and bladder cancer in vivo data as a case study to outline a biologically informed, data-driven framework for formulating, calibrating and validating immunotherapy models, and thus ensuring their predictive reliability. We consider multiple treatment scenarios and distinct immune cell-mediated killing mechanisms for tumor cells of different antigenicity. By integrating sensitivity analysis and identifiability analysis with targeted experimental design, we demonstrate how mathematical models can move beyond qualitative insight to quantitative prediction. We generate virtual cohorts to show that insufficient data integration leads to systematically overestimated therapeutic benefits of ICIs. We also explore dosing schedules that enhance survival or reduce dosage without compromising survival.

cell biology↗

SMoRe GloS: An efficient and flexible framework for inferring global sensitivity of agent-based model parameters

Agent-based models (ABMs) have become essential tools for simulating complex biological, ecological, and social systems where emergent behaviors arise from the interactions among individual agents. Quantifying uncertainty through global sensitivity analysis is crucial for assessing the robustness and reliability of ABM predictions. However, most global sensitivity methods demand substantial computational resources, making them impractical for highly complex models. Here, we introduce SMoRe GloS (Surrogate Modeling for Recapitulating Global Sensitivity), a novel, computationally efficient method for performing global sensitivity analysis of ABMs. By leveraging explicitly formulated surrogate models, SMoRe GloS allows for comprehensive parameter space exploration and uncertainty quantification without sacrificing accuracy. We demonstrate our methods flexibility by applying it to two biological ABMs: a simple 2D cell proliferation assay and a complex 3D vascular tumor growth model. Our results show that SMoRe GloS is compatible with simpler methods like the Morris one-at-a-time method, and more computationally intensive variance-based methods like eFAST. SMoRe GloS accurately recovered global sensitivity indices in each case while achieving substantial speedups, completing analyses in minutes. In contrast, direct implementation of eFAST amounted to several days of CPU time for the complex ABM. Remarkably, our method also estimates sensitivities for ABM parameters representing processes not explicitly included in the surrogate model, further enhancing its utility. By making global sensitivity analysis feasible for computationally expensive models, SMoRe GloS opens up new opportunities for uncertainty quantification in complex systems, allowing for more in depth exploration of model behavior, thereby increasing confidence in model predictions.

systems biology↗

Agent-Based Modeling of Virtual Tumors Reveals the Critical Influence of Microenvironmental Complexity on Immunotherapy Efficacy

Since the introduction of the first immune checkpoint inhibitor (ICI), immunotherapy has changed the landscape of molecular therapeutics for cancers. However, ICIs do not work equally well on all cancers and for all patients. There has been a growing interest in using mathematical and computational models to optimize clinical responses. Ordinary differential equations (ODEs) have been widely used for mechanistic modeling in immuno-oncology and immunotherapy because they allow rapid simulations of temporal changes in the cellular and molecular populations involved. Nonetheless, ODEs cannot describe the spatial structure in the tumor microenvironment or quantify the influence of spatially-dependent characteristics of tumor-immune dynamics. For these reasons, agent-based models (ABMs) have gained popularity because they can model more detailed phenotypic and spatial heterogeneity that better reflect the complexity seen in vivo. In the context of anti-PD-1 ICIs, we compare treatment outcomes simulated from an ODE model and an ABM to show the importance of including spatial components in computational models of cancer immunotherapy. We consider tumor cells of high and low antigenicity and two distinct cytotoxic T lymphocyte (CTL) killing mechanisms. The preferred mechanism differs based on the antigenicity of tumor cells. Our ABM reveals varied phenotypic shifts within the tumor and spatial organization of tumor and CTLs, despite similarities in key immune parameters, initial conditions of simulation, and early temporal trajectories of the cell populations.

cancer biology↗

PhysiCell Studio: a graphical tool to make agent-based modeling more accessible

Defining a multicellular model can be challenging. There may be hundreds of parameters that specify the attributes and behaviors of objects. Hopefully the model will be defined using some format specification, e.g., a markup language, that will provide easy model sharing (and a minimal step toward reproducibility). PhysiCell is an open source, physics-based multicellular simulation framework with an active and growing user community. It uses XML to define a model and, traditionally, users needed to manually edit the XML to modify the model. PhysiCell Studio is a tool to make this task easier. It provides a graphical user interface that allows editing the XML model definition, including the creation and deletion of fundamental objects, e.g., cell types and substrates in the microenvironment. It also lets users build their model by defining initial conditions and biological rules, run simulations, and view results interactively. PhysiCell Studio has evolved over multiple workshops and academic courses in recent years which has led to many improvements. Its design and development has benefited from an active undergraduate and graduate research program. Like PhysiCell, the Studio is open source software and contributions from the community are encouraged.

bioinformatics↗

PhysiPKPD: A pharmacokinetics and pharmacodynamics module for PhysiCell

Pharmacokinetics and pharmacodynamics are key considerations in any study of molecular therapies. It is thus imperative to factor their effects in to any in silico model of biological tissue involving such therapies. Furthermore, creation of a standardized and flexible framework will benefit the community by increasing access to such modules and enhancing their communicability. PhysiCell is an open source physics-based cell simulator, i.e. a platform for modeling biological tissue, that is quickly being adopted and utilized by the mathematical biology community. We present here PhysiPKPD, an open source PhysiCell-based package that allows users to include PKPD in PhysiCell models. Availability & ImplementationThe source code for PhysiPKPD is located here: https://github.com/drbergman/PhysiPKPD.

systems biology↗

Phenotype switching in a global method for agent-based models of biological tissue

Agent-based models (ABMs) are an increasingly important tool for understanding the complexities presented by phenotypic and spatial heterogeneity in biological tissue. The resolution a modeler can achieve in these regards is unrivaled by other approaches. However, this comes at a steep computational cost limiting either the scale of such models or the ability to explore, parameterize, analyze, and apply them. When the models involve molecular-level dynamics, especially cell-specific dynamics, the limitations are compounded. We have developed a global method for solving these computationally expensive dynamics significantly decreases the computational time without altering the behavior of the system. Here, we extend this method to the case where cells can switch phenotypes in response to signals in the microenvironment. We find that the global method in this context preserves the temporal population dynamics and the spatial arrangements of the cells while requiring markedly less simulation time. We thus add a tool for efficiently simulating ABMs that captures key facets of the molecular and cellular dynamics in heterogeneous tissue. Author summaryAgent-based models (ABMs) are an important tool for understanding how cells and molecular compounds interact to produce complex, emergent behavior. The principal feature of ABMs that set them apart from other types of models is their ability to capture the diversity of cells in a tissue. However, this feature comes at the cost of long simulation times, reducing the ability to apply the findings of these models to improve our understanding of living organisms. We present here a means of simulating ABMs using a more efficient method, called the global method, when the cells are undergoing discrete, phenotypic changes in response to molecular cues. We demonstrate that the global method preserves the key features of the ABM while performing simulations much faster. This allows for more efficient testing of biological hypotheses in a mathematical framework that captures key facets of the diversity in biological tissue.

systems biology↗

Modeling the competing effects of the immune system and EMT on tumor development

During progression from carcinoma in situ to an invasive tumor, the immune system is engaged in complex sets of interactions with various tumor cells. Tumor cell plasticity also alters disease trajectories via epithelial-to-mesenchymal transition (EMT). Several of the same pathways that regulate EMT are involved in tumor-immune interactions, yet little is known about the mechanisms and consequences of crosstalk between these regulatory processes. Here we introduce a multiscale evolutionary model to describe tumor-immune-EMT interactions and their impact on epithelial cancer progression from in situ to invasive disease. Through in silico analyses of large patient cohorts, we find controllable regions that maximize invasion-free survival. We identify that delaying tumor progression depends crucially on properties of the mesenchymal tumor cell phenotype: its growth rate and its immune-evasiveness. Through analysis of EMT-inflammation-associated data from The Cancer Genome Atlas, we find that association with EMT significantly worsens invasion-free survival probabilities in support of our model, and we predict new genes influencing outcomes in bladder and uterine cancer, including FGF pathway members. These results offer novel means to delay disease progression by regulating properties of EMT through specific gene interactions, and demonstrate the importance of studying cancer-immune interactions in light of EMT.

systems biology↗