A multilevel hierarchical framework for quantification of experimental heterogeneity in population snapshot data.
Analyze & explore related research in Conceptio
Connect this record directly into your research workflow or AI agent. Explore citations across open repositories, query full text, and export structured proof bundles.
A multilevel hierarchical framework for quantification of experimental heterogeneity in population snapshot data - PMC Skip to main content An official website of the United States government Here's how you know Here's how you know Search Log in Primary site navigation Search Log in Search PMC Full-Text Archive Search in PMC Journal List User Guide As a library, NLM provides access to scientific literature. Inclusion in an NLM database does not imply endorsement of, or agreement with, the contents by NLM or the National Institutes of Health. Learn more: PMC Disclaimer | PMC Copyright Notice PLoS Comput Biol . 2026 Jun 15;22(6):e1014379. doi: 10.1371/journal.pcbi.1014379 A multilevel hierarchical framework for quantification of experimental heterogeneity in population snapshot data David J Warne 1, * , Xiangrun Zhu 1 , Thomas P Steele 1 , Stuart T Johnston 2 , Scott A Sisson 3 , Matthew Faria 4 , Ryan J Murphy 5 , Alexander P Browning 2, 6 Editor: William Majoros 7 Author information Article notes Copyright and License information 1 School of Mathematical Sciences, Queensland University of Technology, Brisbane, Australia 2 School of Mathematics and Statistics, The University of Melbourne, Melbourne, Australia 3 School of Mathematics and Statistics, University of New South Wales, Sydney, Australia 4 Department of Biomedical Engineering, The University of Melbourne, Melbourne, Australia 5 School of Mathematical Sciences, Adelaide University, Adelaide, Australia 6 Mathematical Institute, University of Oxford, Oxford, United Kingdom 7 Duke University School of Medicine, UNITED STATES OF AMERICA ✉ * E-mail: david.warne@qut.edu.au The authors have declared that no competing interests exist. Roles David J Warne : Conceptualization, Formal analysis, Funding acquisition, Investigation, Methodology, Project administration, Software, Supervision, Validation, Visualization, Writing – original draft, Writing – review & editing Xiangrun Zhu : Software, Validation, Visualization, Writing – original draft Thomas P Steele : Software, Validation, Visualization, Writing – review & editing Stuart T Johnston : Data curation, Funding acquisition, Methodology, Resources, Writing – review & editing Scott A Sisson : Conceptualization, Formal analysis, Funding acquisition, Methodology, Validation, Writing – review & editing Matthew Faria : Data curation, Investigation, Resources, Validation, Writing – review & editing Ryan J Murphy : Data curation, Methodology, Supervision, Validation, Writing – review & editing Alexander P Browning : Conceptualization, Data curation, Funding acquisition, Methodology, Software, Supervision, Validation, Writing – review & editing William Majoros : Editor Received 2026 Jan 28; Accepted 2026 May 28; Collection date 2026 Jun. © 2026 Warne et al This is an open access article distributed under the terms of the Creative Commons Attribution License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited. PMC Copyright notice PMCID: PMC13286279 PMID: 42296176 Abstract Biological systems exhibit substantial heterogeneity: that is, variation in specific characteristics of individuals within a population. As a result, it is of critical importance to appropriately account for biological heterogeneity when calibrating mathematical models to infer cellular processes and predict behaviour. Recent approaches consider ordinary differential equations with random parameters to quantify heterogeneity in dynamical processes of cells. In this setting, statistical inference is performed to characterise the distribution of these random parameters within a cell population. One significant limitation of this approach is the tacit assumption that there are no substantial deviations in these distributions across experimental replicates. In this work, we propose a flexible Bayesian hierarchical differential equation modelling framework that quantifies and distinguishes both inter-experimental heterogeneity (heterogeneity between experimental replicates) and intra-experimental heterogeneity (biological heterogeneity within replicate populations). We consider two recent studies that employ mathematical models to interpret flow cytometry snapshot data and quantify heterogeneity in nano-particle cell interactions and cell internalisation processes. Using simulation data, we demonstrate that substantial inaccuracy in the inferred dynamics can arise when experimental heterogeneity is not accounted for. By contrast, our hierarchical approach is robust to variability in inter-experimental and intra-experimental heterogeneity and our method simplifies to previous methods when inter-experimental heterogeneity is negligible. Our approach is flexible and widely applicable to applications involving replicate populations and snapshot data. We provide open-source implementations of our methods on GitHub. Author summary In the design of personalised and targeted drugs and therapeutics it is essential to quantify the variability in the response of cellular processes involved in drug uptake. In practice, the experimental instruments and protocols used to collect cell population data for the study of such cellular processes are complex. As a result, it is important for statistical analyses that use these data to correctly account for variability between experiments in addition to the variability of cellular behaviour within the same experimental replicate. We present a flexible model of cellular dynamics that accounts for variability in biological, technical, and experimental replicates. We show that this leads to more accurate and robust results over standard approaches that pool replicates together. Introduction Accounting for biological heterogeneity is crucial in the biomedical sciences [ 1 ]. Heterogeneity plays a key role in the development and maintenance of healthy living organisms [ 2 , 3 ] through complex interactions between various types of cells driven by intracellular biochemical processes [ 4 ]. In pathological situations, such as cancer or viral infections [ 5 – 8 ], heterogeneity can seriously impact the efficacy of pharmaceutical interventions and eventual patient outcomes [ 9 – 11 ]. As a result, appropriately quantifying biological heterogeneity within a population of cells is of tremendous importance for understanding natural processes and for the design of effective drugs, especially in the areas of precision medicine such as targeted therapeutics [ 12 – 15 ]. A standard experimental approach to quantify properties of cell populations is flow cytometry [ 16 – 18 ]. In such an experiment, populations of cells ( Fig 1(a) ), are tagged or stained with fluorescent markers. The cells then individually flow through the cytometer nozzle and pass through a laser from which scattered light is amplified and converted to a digital signal representing a measurement of fluorescent intensity related to each cell in the population ( Fig 1(b) ). This results in a snapshot in time of the fluorescent intensity distribution across multiple colour channels, providing a rich source of information about potential variability in the cell populations at a single point in time ( Fig 1(c) ). Typically, thousands to tens of thousands of cells are analysed per time point. Fig 1. Schematic of flow cytometry data acquisition. Open in a new tab (a) Cells are seeded into cell culture plates, e.g., 12-well plates, in a growth media (e.g., 1 mL) and incubated with various treatments for some time period (typically between 1 to 48 hours). (b) Cells are then removed from plates and placed in suspension, and passed through the flow cytometer nozzle to a laser beam where light scattering from the cell is measured at detectors. (c) For each fluorescent channel, the intensity distribution is obtained, leading to distributions showing cellular variability. Data obtained from flow cytometry experiments exhibit substantial levels of heterogeneity. While some of this variation can be attributed to measurement noise, it is well established that some of this variation arises due to intrinsic biological variation, even between genetically identical cells [ 19 – 23 ]. However, there are also extrinsic factors that drive heterogeneity in flow cytometry experiments that can adversely affect the statistical analysis of the biological heterogeneity of interest if not properly accounted for [ 24 – 26 ]. For example, subtle variation in sample preparation, instrument configuration for data acquisition, and manual user operation can have a substantial effect on the signal-to-noise ratio and statistical bias in the data, potentially impacting the validity of conclusions drawn from the analysis [ 24 , 25 , 27 , 28 ]. In many studies, it is typically assumed that experimental replicates of identically prepared cell populations represent independent and identically distributed replicates. For example, in the work of Faria et al. [ 29 ], human leukaemia cells (THP-1 cell line) are seeded into a 12-well plate and nano-particle-cell interactions are observed via flow cytometry at six observation times (between 1 hr and 24 hrs), resulting in two replicates per observation time. In practice, statistical analysis is performed on the pooled sample of replicates [ 30 , 31 ], or each replicate is individually analysed [ 32 , 33 ]. Neither approach is ideal. Pooling ignores heterogeneity between experimental replicates and may lead to incorrect conclusions. Conversely, analysing replicates independently can lead to difficulties in assessing global trends [ 34 ]. A potential solution to analyse flow cytometry data is to use mathematical or statistical models that structure relationships between snapshots, and between time points data [ 34 – 38 ]. In this work, we introduce an approximate Bayesian multilevel hierarchical modelling framework for quantifying biological heterogeneity in flow cytometry data in situations where the parameters of interest are related to a mathematical model of cell dynamics based on differential equation models. The class of models we consider here is more general than previous work on non-linear mixed-effects models [ 35 , 36 ], as we allow for all cells to interact with a shared dynamic environment. To demonstrate our approach, we consider simulation studies based on two recent studies that quantify biological heterogeneity in cell behaviour using pooled flow cytometry data [ 39 , 40 ]. We highlight the dramatic impact that variation between replicates can have on pooled sample analysis results and show how a hierarchical approach can account for this effect. In addition, our approach reduces to the pooled case in situations where variation between replicates is minimal. Our approach is therefore generally applicable for applications in which controlling variation across flow cytometry replicates is infeasible. Materials and methods We develop a general Bayesian hierarchical modelling framework for the analysis of heterogeneity in cell behaviour using flow cytometry data. This heterogeneity is variability that can be intra-experimental heterogeneity within a replicate, or inter-experimental heterogeneity between replicates. This inter-experimental heterogeneity can be variation between either technical replicates or experimental replicates. For clarity, we define a technical replicate to be an identically prepared replicate performed at the same time and the same person, and define an experimental replicate to be a replicate replicate performed on a different day, and/or by a different person (See Fig 2 ). For example, if an experiment was performed with a 12-well plate where two-wells were assigned to each of six time points then this would represent two technical replicates. However, if the entire 12-well plate experiment was performed again at a different lab or with a different instrument then this would be two experimental replicates, each with two technical replicates. For most experimental protocols, we expect technical replicates to be closely related. As a result, we focus our attention to experimental replicates in this manuscript. However, we show how this can be extended to account for both technical and experimental replicates in S1 Appendix . Fig 2. A schematic representation of the hierarchical statistical framework. Open in a new tab Experimental replicates are indicated by different colours, with each experiment consisting of two identical technical replicates. Inter-experimental heterogeneity is captured through the hyper-parameters ψ that characterise the distribution of the M replicate specific hyper-parameters, ϕ 1 , ϕ 2 , … , ϕ M . Here, ϕ j characterises the intra-experimental heterogeneity between N j cells with θ i , j being the dynamic parameters for the i th cell within the j th replicate. Flow cytometry data We use simulated flow cytometry data that is a realistic characterisation of real flow cytometry data. Specifically, we build our data simulation process based on recent studies that investigate heterogeneity in interactions between cells and nano-particles [ 29 , 30 , 40 ] and cell internalisation processes [ 39 , 41 , 42 ]. Nano-engineered particle-cell interaction data. The flow cytometry data published by Faria et al., [ 29 ] and subsequently analysed for heterogeneity in particle-cell interaction by Murphy et al., [ 40 ] are for a human leukaemia monocytic suspension cell line, THP-1. Here, THP-1 cells are seeded in a 12-well plate and incubated with nano-particles (specifically, we focus on the 150 nm core-shell data) for 1, 2, 4, 8, 16, and 24 [hr]. After incubation, nano-particles that are not associated with cells are removed via washing. The nano-particle fluorescence across the cell population from each well plate is collected via flow cytometry. This results in snapshot data of associated nano-particle fluorescence for N ≈ 20,000 cells for each incubation time point. Dual-labelled probe internalisation data. Browning et al., [ 39 ] published flow cytometry data for a human B cell lymphoblast cell line (C1R) and analysed the heterogeneity in endocytosis of anti-transferrin (anti-TFR) antibodies. The measurement technique is based upon programmable sensors using DNA quenching probes [ 43 , 44 ]. Antibodies are dual-labelled with fluorescent dyes: FIP-Cy5 and BODIPY FL. Of these two probes, FIP-Cy5, is quenchable, that is, the fluorescence is effectively disabled on the cell surface using a quencher dye. Here, C1R cells are incubated with dual-labelled antibodies with incubation times of 5, 10, 20, 30, 60, 120, and 180 [min]. After incubation, cells are washed and resuspended both with and without the quencher [ 44 ]. The fluorescent signals for both FIP-Cy5 and and BODIPY FL are measured for the cell populations in both quenched and unquenched samples via flow cytometry. This leads to snapshots of the jointly distributed FIP-Cy5 and BODIPY FL fluorescence for N = 1,000 cells over the incubation times and qenched/unquenched samples. Mathematical modelling We consider applications for which flow cytometry data is analysed using deterministic modelling based on ordinary differential equations (ODEs) as is commonplace in the mathematical and computational biology communities. The goal of such analysis is to quantify biological heterogeneity in parameters related to the dynamics of some cellular process. In this sense, each individual cell in the population is treated as having its own set of parameters and the goal is to find a suitable distribution for the parameters leading to cell dynamics matching the data distribution over time [ 39 , 40 , 45 ]. Here we describe the general ODE framework with random parameters used in the setting of pooled replicates, and then connect the framework to the particle-cell interaction model of Murphy et al., [ 40 ] and the cell internalisation model of Browning et al., [ 39 ]. These previous works focus exclusively on intra-experimental heterogeneity. We then show how to extend the analysis framework also account for inter-experimental heterogeneity between replicates and present a Bayesian multilevel hierarchical approach to quantify both intra- and inter-experimental heterogeneity together. Cell population models with random parameters. We consider a representative and heterogeneous population of N cells. Let 𝐗 i be a vector of d X ≥ 1 dynamic properties of interest related to the i th cell (e.g., the average number of nano-particles associated with cell, or concentrations of various biochemicals). This property vector evolves over time according to d 𝐗 i d t = f ( 𝐗 i ( t ) , 𝐙 ( t ) , t ; θ i ) , d 𝐙 d t = h ( 𝒳 ( t ) , 𝐙 ( t ) , t ; Θ N ) , (1) for i = 1 , 2 , … , N , where θ i is a vector of d θ ≥ 1 parameters with values specific to the i th cell, Θ N = [ θ 1 , θ 2 , … , θ N ] is a d θ × N matrix of the population’s parameters, 𝒳 ( t ) = [ 𝐗 1 ( t ) , 𝐗 2 ( t ) , … , 𝐗 N ( t ) ] is a d X × N matrix representing the state of the cell population, and 𝐙 ( t ) is a vector of d Z ≥ 1 shared environmental variables that interact with cells in the population (e.g., a shared nutrient source). The functions f ( 𝐗 i ( t ) , 𝐙 ( t ) , t ; θ i ) and h ( 𝒳 ( t ) , 𝐙 ( t ) , t ; Θ N ) define the dynamics of cells and the environment, respectively. In this setting, cells only indirectly interact via the shared environment. Direct interaction between cells could be incorporated in our framework by extending the cell dynamics to be a function of 𝒳 ( t ) instead of 𝐗 i ( t ) only. For t 0 representing the start of the initial incubation time, we have initial conditions 𝐗 i ( t 0 ) = 𝐱 i , 0 for i = 1 , 2 , … , N , and 𝐙 ( t 0 ) = 𝐳 0 . Importantly, we do not assume that these initial conditions are known quantities, since such assumptions are known to cause problems in study reproducibility [ 46 ]. Instead, initial conditions are included as model parameters that we will estimate. This estimation need not be independent of the other parameters, but rather, initial conditions could be functionally dependent on the model parameters. For example, one may assume the environment or cell states to be in equilibrium that is determined based on a function of rate parameters. The measured fluorescence of each cell is subject to external noise and thus treated as a random variable, that is, 𝐘 i ( t ) ~ g ( · ∣ 𝐗 i ( t ) , θ i , η ) , (2) where 𝐘 i ( t ) are the recorded fluorescent intensities for the i th cell given the cell state 𝐗 i ( t ) , dynamics parameters θ i , and observation process specific parameters, η . The functional from of the observation process, g ( · ∣ 𝐗 i ( t ) , θ i , η ) , will typically be determined based on calibration data for flow cytometry. The dimension of 𝐘 i ( t ) will be the number of fluorescence channels and will generally not be the same as the dimension of 𝐗 i ( t ) . Thus a single cell population snapshot obtained at time t > t 0 using flow cytometry is given by 𝒴 ( t ) = [ 𝐘 1 ( t ) , 𝐘 2 ( t ) , … , 𝐘 N ( t ) ] . Typically, we do not observe the initial condition at t = t 0 , and therefor it is treated as a latent variable to infer with the model parameters. Finally, for n observation times, t 1 < t 2 < ⋯ < t n , we represent the entire flow cytometry da t aset as 𝒟 = [ 𝒴 ( t 1 ) , 𝒴 ( t 2 ) , … , 𝒴 ( t n ) ] . Since snapshot data as obtained through flow cytometry does not track individual cells, using such data to perform parameter inference on θ 1 , θ 2 , … , θ N is not meaningful. Instead, one can consider θ 1 , θ 2 , … , θ N to be independent identically distributed (i.i.d.) samples from a parametric distribution with probability density, p ( θ ∣ ϕ ) , then perform parameter inference on the hyper-parameters ϕ ∈ Φ , where Φ is the hyper-parameter space. In a Bayesian setting, this leads to p ( ϕ ∣ 𝒟 ) ∝ p ( 𝒟 ∣ ϕ ) p ( ϕ ) , where p ( 𝒟 ∣ ϕ ) = ∫ Θ N p ( 𝒟 ∣ θ 1 , θ 2 , … , θ N ) [ ∏ i = 1 N p ( θ i ∣ ϕ ) d θ i ] . This is the essence of the approach taken by Browning et al., [ 39 ] and Murphy et al., [ 40 ] and it relies on pooled snapshot data that requires the assumption of i.i.d. parameters across all cells and replicates. Our main contribution, that we present later, is an extension to this framework that only requires i.i.d. parameters within each experimental replicate. Example 1: Particle-cell interaction model. The particle-cell interaction model of Murphy et al., [ 40 ], describes the association of free nano-particles to a population of cells. Given N cells the number of particles associated with the i th cell at time t > t 0 , P i ( t ) , is governed by t he system, d P i d t = r i c s ( 1 − P i ( t ) K i ) u ( t ) , d u d t = − 1 N ∑ i = 1 N r i c s v ( 1 − P i ( t ) K i ) u ( t ) , (3) for i = 1 , 2 , … , N , where r i and K i are, respectively, the association rate and carrying capacity of particles for the i th cell, c is the fractional cell surface coverage, s is the surface area of the cell boundary, v is the volume of the well-mixed media, and u ( t ) is the total free particle density with initial condition u ( t 0 ) = u 0 . In the context of our framework given by Eqs. (1) and (2) , 𝐗 i ( t ) = P i ( t ) and 𝐙 i ( t ) = u ( t ) (i.e., d X = d Z = 1 ), and θ i = [ r i , K i ] ⊤ (i.e., d θ = 2 ). The measured fluorescence, Y i ( t ) , for cell i is modelled by Y i ( t ) = Y cell , i + ( P i ( t ) − ⌊ P i ( t ) ⌋ ) Y particle , ⌈ P i ( t ) ⌉ + ∑ j = 1 ⌊ P i ( t ) ⌋ Y particle , j , where Y cell , i ~ p ( · ∣ η ) is the autofluorescence of a cell, drawn at random from the empirical distribution cell-only calibration dataset, and Y particle , 1 , … , Y particle , ⌈ P i ( t ) ⌉ ~ p particle ( · ∣ η ) are individual particle fluorescences drawn at random from the empirical distribution particle-only calibration dataset. Here η are parameters associated with normalising voltages that are used to obtain flow cytometry measurements (See Murphy et al., [ 40 ] for details). Since there are N = 20,000 cells, this leads to a computationally challenging system of ODEs as they are fully coupled through the environment ( Eq. (3) ). However, a tractable approximation with a semi-closed form solution can be obtained under the assumption that u ( t ) ≈ u 0 throughout the simulation time (See Murphy et al., [ 40 ] for details). This assumption is quite common in the field and represents a high nano-particle dose such that the cells are not expected to meaningfully deplete it. Importantly, it does not lead to a completely decoupled system free from any environmental coupling and changes in u ( t ) are still captured. Example 2: Internalisation model. Browning et al., [ 39 ] consider a model describing the internalisation of transferrin anti-bodies that accounts for receptor recycling. Due to the experimental protocol (See Dual-labelled probe internalisation data), the concentration of free transferrin antibodies can be considered sufficiently high that unbound surface receptors are assumed to bind instantaneously to a free antibody. Furthermore, the high free antibody concentration enables the internalisation dynamics of all N = 2,000 cells to be considered independent of each other since cells will never compete for free antibodies. For the i th cell at time t > t 0 , Browning e t al., [ 39 ] model the dynamics of the density of unbound internal receptors, T i ( t ) , bound surface receptors, S i ( t ) , internalised bound receptors, E i ( t ) , and interalised free antibodies, F i ( t ) , according to, d T i d t = − β i T i ( t ) , d S i d t = β i T i ( t ) + p β E i ( t ) − λ i S i ( t ) , d E i d t = λ i S i ( t ) − p β i E i ( t ) , d F i d t = − p β i E i ( t ) , (4) for i = 1 , 2 … , N . Here, the initial total density of receptors for the i th cell is given by T i ( t 0 ) + S i ( t 0 ) = R i and it is assumed no antibodies have initially been internalised with E i ( t 0 ) = F i ( t 0 ) = 0 . Further, λ i > 0 and β i > 0 are, respectively, the internalisation rate and recycling rate for the the i th cell. Finally, p ∈ ( 0 , 1 ] is the disassociation probability that captures the probability that an internalised antibody is absorbed into the cell versus being recycled back to the surface. Following Browning et al., [ 39 ], p is associated with a purely chemical process and considered constant across cells, whereas λ i , η i and R i are assumed to be heterogeneous across cells i = 1 , 2 , … N . Relating this to our framework ( Eqs. (1) and (2) ), 𝐗 i ( t ) = [ T i ( t ) , S i ( t ) , E i ( t ) , F i ( t ) ] ⊤ (i.e., d X = 4 ), and θ i = [ λ i , β i , R i , p ] ⊤ (i.e., d θ = 4 ). In this model we do not have a dependent shared environment so d Z = 0 . In this case an analytic solution to Eq. (4) can be obtained using the matrix exponential (See Browning et al., [ 39 ] for details). The observation process is more complex in this model than the particle-cell interaction model. Here, the experimental protocol involves dual-labelled antibodies with one of the labels (FIP-Cy5) being “quenchable”, leading to a loss in FIP-Cy5 fluorescence for free or surface bound antibodies, and the other (BODIPY FL) being “unquenchable” with fluorescence unaffected by the quenching process. The N = 2,000 cells consist of two equal-sized technical replicates of size N ~ = 1,000 with one replicate undergoing the quenching process before being processed through the flow cytometer. This leads to four measured fluorescence signal values for the i th pair of cells, 𝐘 i ( t ) = [ Q i ( t ) , U i ( t ) , Q ¯ i ( t ) , U ¯ i ( t ) ] , where Q i ( t ) (resp. U i ( t ) ) are the quenchable FIP-Cy5 (resp. unquenchable BODIPY FL) fluorescence signals measured from the unquenched sample group, and Q ¯ i ( t ) (resp. U ¯ i ( t ) ) are the quenchable FIP-Cy5 (resp. unquenchable BODIPY FL) fluorescence signals measured from the quenched sample group. The resulting observation process is Q i ( t ) ~ 𝒩 ( α 1 [ T i ( t ) + S i ( i ) + E i ( t ) + F i ( t ) ] + A Q , σ 1 ) , U i ( t ) ~ 𝒩 ( α 2 [ T i ( t ) + S i ( i ) + E i ( t ) + F i ( t ) ] + A U , σ 2 ) , Q ¯ i ( t ) ~ 𝒩 ( α 1 [ ( 1 − q ) S ¯ i ( i ) + E ¯ i ( t ) + F ¯ i ( t ) ] + A Q , σ 1 ) , U ¯ i ( t ) ~ 𝒩 ( α 2 [ T ¯ i ( t ) + S ¯ i ( i ) + E ¯ i ( t ) + F ¯ i ( t ) ] + A U , σ 2 ) , (5) for i = 1 , 2 , … , N ~ , where α 1 and σ 1 (resp. α 2 and σ 2 ) are intensity and noise the fluorescence measurement for FIP-Cy5 (resp. BODIPY FL). Further, A Q (resp. A U ) corresponds to the average autofluorescence of FIP-Cy5 (resp. BODIPY FL), and q is the quenching efficiency. While A Q , A U and q are pre-estimated from data directly, the parameters η = ( α 1 , α 2 , σ 1 , σ 2 ) must be inferred with the model parameters. Statistical framework In the previous sections, we describe the typical setting in which biological heterogeneity has been treated in the literature. That is, replicates are pooled and treated as a single snapshot population [ 29 – 31 , 39 , 40 ]. In this work, we propose an extension in which each replicate is treated as its own population with variation within replicates (i.e., intra-experimental heterogeneity) being distinguished from variation between replicates (i.e., inter-experimental heterogeneity). To simplify the exposition of our approach we present a two-level Bayesian hierarchical model, however, the approach can be extended to more levels as shown in the S1 Appendix . Inter-experimental and intra-experimental heterogeneity. Within the random ODE framework ( Eqs. (1) and (2) ), we consider M experimental replicates with the j th replicate analysing N j cells in total across identical technical replicates ( Fig 2 ). The cell population dynamic model ( Eq. (1) ) becomes, d 𝐗 i , j d t = f ( 𝐗 i , j ( t ) , 𝐙 j ( t ) , t ; θ i , j ) , d 𝐙 j d t = h ( 𝒳 j ( t ) , 𝐙 j ( t ) , t ; Θ N j , j ) , (6) for i = 1 , 2 , … , N j , and j = 1 , 2 , … , M . Here, 𝐗 i , j ( t ) is the state of the i th cell in the j th replicate having parameters θ i , j . For the j th replicate we have the subpopulation state, 𝒳 j ( t ) = [ 𝐗 1 , j ( t ) , 𝐗 2 , j ( t ) , … , 𝐗 N j , j ( t ) ] , the shared environment, 𝐙 j ( t ) , and the subpopulation parameters Θ N j , j = [ θ 1 , j , θ 2 , j , … , θ N j , j ] . Similarly, the observation process ( Eq. (2) ) becomes, 𝐘 i , j ( t ) ~ g ( · ∣ 𝐗 i , j ( t ) , θ i , j , η ) , (7) where 𝐘 i , j ( t ) is the fluorescence of the i th cell in the j th replicate. The snapshot data for the j th replicate at time t > t 0 is 𝒴 j ( t ) = [ 𝐘 1 , j ( t ) , 𝐘 2 , j ( t ) , … , 𝐘 N j , j ( t ) ] . We assume that t he groups of M replicates are observed a t the same n observations times t 1 < t 2 < ⋯ < t n , and denote D j = [ 𝒴 j ( t 1 ) , 𝒴 j ( t 2 ) , … , 𝒴 j ( t n ) ] for the series of snapshots nominally labelled as the j th replicate, as in reality there are n × M replicates as the process of taking the snapshot typically destroys the sample. This leads to the complete flow cytometry dataset, including the set of snapshots in replicate subgroups, to be represented by 𝒟 = [ D 1 , D 2 , … , D M ] . Here, we assume that θ 1 , j , θ 2 , j , … , θ N j , j are i.i.d. from a parametric distribution p ( θ ∣ ϕ j ) with subgroup hyper-parameter, ϕ j , representing the distribution parameters for the j th replicate, this subgroup hyper-parameter may also include the number of observed cells N j it this varies between replicates. Across all replicates, these hyper-parameters ϕ 1 , ϕ 2 , … , ϕ M , are distributed (i.i.d.) according to another parametric distribution, p ( ϕ ∣ ψ ) where ψ are the between group hyper-parameters ( Fig 2 ). Computational inference. To quantify both inter-experimental and intra-experimental heterogeneity, characterised by p ( · ∣ ψ ) and p ( · ∣ ϕ 1 ) , p ( · ∣ ϕ 2 ) , … , p ( · ∣ ϕ M ) , respectively, we aim to infer the hyper-parameters, ψ , ϕ 1 , ϕ 2 , … ϕ M . That is, p ( ψ , ϕ 1 , … ϕ M ∣ 𝒟 ) ∝ p ( 𝒟 ∣ ψ , ϕ 1 , … ϕ M ) p ( ψ , ϕ 1 , … ϕ M ) , (8) where the joint prior that enforces the hierarchical structure of the model is given by p ( ψ , ϕ 1 , … ϕ M ) = p ( ψ ) ∏ j = 1 M p ( ϕ j ∣ ψ ) , (9) and the likelihood is p ( 𝒟 ∣ ψ , ϕ 1 , … ϕ M ) = ∏ j = 1 M { ∫ Θ N p ( D j ∣ Θ N j , j ) p j ( Θ N j , j ∣ ϕ j ) [ ∏ i = 1 N j d θ i , j ] } , (10) with p j ( Θ N j , j ∣ ϕ j ) = ∏ i = 1 N j p ( θ i , j ∣ ϕ j ) . In Eq. (10) we integrate out the individual cell parameters, θ i , j , within the likelihood function. This leads to a complex likelihood evaluation while reducing the dimension of the inference problem substantially to the space of hyper-parameters Φ M × Ψ . To maintain the lower dimensional inference problem from Eqs. (8) – (10) while avoiding the the direct likelihood calculation (10), we adopt an Approximate Bayesian computation (ABC) approach [ 47 – 49 ]. That is, we approximate Eq. (8) using the ABC posterior, p ABC ( ψ , ϕ 1 , … , ϕ M ∣ 𝒟 ) ∝ ℙ ( ρ ( 𝒟 , 𝒟 s ) ≤ ϵ ∣ ϕ 1 , … , ϕ M ) p ( ϕ 1 , … , ϕ M ∣ ψ ) p ( ψ ) . (11) where 𝒟 s is simulated data and ρ ( 𝒟 , 𝒟 s ) is a distribution matching discrepancy metric based on the Anderson-Darling distance, ρ ( 𝒟 , 𝒟 s ) = 1 M ∑ j = 1 M ∑ k = 1 n A ( 𝒴 j ( t k ) , 𝒴 j s ( t k ) ) , (12) where 𝒴 j ( t k ) = [ Y 1 , j ( t k ) , Y 2 , j ( t k ) , … , Y N , j ( t k ) ] is the real data snapshot for replicate j at time t k , and 𝒴 j s ( t k ) = [ Y 1 , j s ( t k ) , Y 2 , j s ( t k ) , … , Y N , j s ( t k ) ] is the simulated data snapshot for replicate j at time t k . Here, the function A ( 𝒳 , 𝒴 ) is the Anderson-Darling distance, A ( 𝒳 , 𝒴 ) = [ − N − ∑ i = 1 N 2 i − 1 N log ( F ^ 𝒳 ( Y i ) ) + log ( 1 − F ^ 𝒳 ( Y N + 1 − i , j ) ) ] 1 / 2 , (13) where 𝒳 = { X 1 , X 2 , … N } and 𝒴 = { Y 1 , Y 2 , … , Y N } are two sample sets and F ^ 𝒳 ( x ) is the empirical cumulative distribution for 𝒳 . In this setting, we have that p ABC ( ϕ 1 , ϕ 2 , … , ϕ M , ψ ∣ 𝒟 ) → p ( ψ , ϕ 1 , ϕ 2 , … ϕ M ∣ 𝒟 ) as ϵ → 0 . We use an adaptive ABC scheme based on sequential Monte Carlo methods of Drovandi and Pettitt [ 50 ] that refines ϵ through sequential importance resampling ( S2 Appendix ). Results To demonstrate the advantages of our approach, we perform simulations that represent in silico repeats of the experiments described in the Flow cytometry data Section based on published data [ 29 , 39 , 40 ]. The simulation setting enables experimental heterogeneity to be directly controlled and results to be compared to a known ground truth. Nano-engineered particle-cell interaction experiments Murphy et al., [ 40 ] consider an ODE model of particle-cell interactions (See Example 1: Particle-cell interaction model) with each cell, i = 1 , 2 , … , N , having its own particle association rate, r i ,and carrying capacity, K i . In the pooled sample setting, they consider these parameters θ i = ( r i , K i ) to be log-Normally distributed, r i ~ L o g N o r m a l ( μ r , σ r ) , and K i ~ L o g N o r m a l ( μ K , σ K ) . (14) For ease of interpretation, Eq (14) is re-parameterised such that 𝔼 [ r i ] = μ r , Var [ r i ] = σ r 2 , 𝔼 [ K i ] = μ K , and Var [ K i ] = σ K 2 . For inference, this leads to a vector of hyper-parameters of interest ϕ = ( μ r , σ r , μ K , σ K ) . Synthetic data scenarios. Using the particle-cell interation model (See Example 1: Particle-cell interaction model) and the parameter distributions ( Eq. (14) ) for r i and K i , we generate in silico data based on the experimental data collected by Faria et al., [ 29 ]. We consider M = 3 experimental replicates each with N = 20,000 cells with simulated flow cytometry snapshots taken at n = 6 time points that are considered identically prepared technical replicates ( t 1 = 1 [hr], t 2 = 2 [hr], t 3 = 4 [hr], t 4 = 8 [hr], t 5 = 16 [hr], and t 6 = 24 [hr]). Within this setting, we generate synthetic flow cytometry data for the following three scenarios: Scenario 1: All M experimental replicates are i.i.d. with hyper-parameters μ r = 3.86125 × 10 − 7 , σ r = 4.56962 × 10 − 7 , μ K = 10 , and σ K = 2 . Scenario 2: Cell parameters in experimental replicate 1 are generated with a larger mean association rate of μ r = 9.0 × 10 − 7 . Experimental replicates 2 and 3 are identical to Scenario 1. Scenario 3: Cell parameters in experimental replicate 1 are generated with a larger mean association rate μ r = 9.0 × 10 − 7 and cell parameters in experimental replicate 2 are generated with a larger mean association rate of μ r = 9.0 × 10 − 7 and a larger mean carrying capacity μ K = 20 . Experimental replicate 3 is identical to Scenario 1. In all three scenarios we use, c = 1, s = 5.31 × 10 − 5 , v = 1.01 × 10 − 6 , and u 0 = 9.95 × 10 7 . The specific values for these parameters are based on prior work of Murphy et al., [ 40 ]. We can consider Scenario 1 as the ideal experimental conditions for pooled sample analysis, whereas Scenarios 2 and 3 represent different ways the pooled assumptions may not hold. We note that the variation we have introduced to these parameters is fairly modest. Fig 3 provides an example of the synthetic flow cytometry data generated for Scenario 3. The larger mean association rate of replicate 1 ( Fig 3(a) ) leads to a subtle increase in the location of the peak fluorescence at early times, t ≤ 4 [ hr ] , compared with replicate 3 ( Fig 3(c) , the basis of Scenario 1), though at later times, t > 8 [hr], replicates 1 and 3 come into alignment. Replica t e 2 generally is more diffuse than replicates 1 and 3 for all times, with the peak fluorescence approaching a higher steady state due to the higher mean carrying capacity ( Fig 3(b) ). Fig 3. Synthetic flow cytometry population snapshot data example simulating nano-particle cell interaction data. Open in a new tab Each histogram represents the simulated fluorescence S [AU] (that is Arbitrary Units) distribution for 20,000 observed cells interacting with nano-particles at one of six observation times ( t 1 = 1 [hr], t 2 = 2 [hr], t 3 = 4 [hr], t 4 = 8 [hr], t 5 = 16 [hr], and t 6 = 24 [hr]). Replicate 1 (row (a) , blue) is generated with a mean particle association rate of 9.0 × 10 − 7 and a mean carrying capacity of μ K = 10 . Replicate 2 (row (b) , orange) is generated with a mean particle association rate of 3.86125 × 10 − 7 and a mean carrying capacity of μ K = 20 . Replicate 3 (row (c) , green) is generated with a mean particle association rate of 3.86125 × 10 − 7 and a mean carrying capacity of μ K = 10 . All replicates have the same standard deviation parameters for the association rate and carrying capacity of σ r = 4.56962 × 10 − 7 and σ K = 2 , respectively. Here, Replicate 2 (row (b), orange) represents an experimental outlier with higher carrying capacity, resulting in a distinctly larger fluorescence distribution mode at later times than Replicates 1 (row (a), blue) and 3 (row (c), green). Replicate 3 (row (c), green) represents an experimental outlier with a lower association rate, resulting in heavier skewness to the right than Replicates 1 (row (a), blue) and 2 (row (b), orange). The effect of pooling on quantification of heterogeneity. Before presenting details of the pooled and hierarchical analysis, we focus on estimated distributions of the individual cell parameters resulting from this analysis. In particular, we consider the heterogeneity in the particle association rate ( Fig 4(a) ) and carrying capacity ( Fig 4(b) ) that results from the analysis of synthetic data Scenario 3 (See Synthetic data scenarios and Fig 3 ). This scenario captures a reasonable experimental setting for which the pooled i.i.d. assumptions are invalid due to experimental heterogeneity that is a confounding factor for the biological heterogeneity. Fig 4. Heterogeneity in posterior cell parameter distributions resulting from pooled and hierarchical analysis of the particle-cell interaction model. Open in a new tab Marginal distributions are shown for: (a) the particle association rate, r , and (b) the carrying capacity, K . Data Scenario 3 is used for this analysis (See Synthetic data scenarios and Fig 3 ). Here, Replicate 2 (orange) represents an experimental outlier with higher mean carrying capacity and Replicate 3 (green) represents an experimental outlier with a lower mean association rate. In this setting the pooled sample (black) does not adequately characterise the combined biological heterogeneity across experimental replicates. The pooled analysis adequately captures the variability in the cell parameter distributions with support that covers the bulk of each individual replicate distribution ( Fig 4 ). However, the hierarchical analysis highlights that the actual biological heterogeneity is more complex with replicate 3 having a lower particle association rate ( Fig 4(a) ) and replicate 2 having larger carrying capacity ( Fig 4(b) ). These replicate specific distributions are not estimated independently, but rather, the hierarchical modelling structure allows for information sharing between replicates to provide quantification of experimental heterogeneity. Pooled sample analysis. We investigate the sensitivity of a pooled sample analysis to the i.i.d. assumptions. Following the pooled sample analysis protocol of Murphy et al., [ 40 ], we estimate the hyper-parameters, ϕ = ( μ r , σ r , μ K , σ K ) , for each of the three synthetic data scenarios. These hyper-parameters characterise the heterogeneity ( Eq. (14) ) in particle association rates and carrying capacities throughout the cell population, given the cell population dynamics under the model of Murphy et al., [ 40 ] (See Example 1: Particle-cell interaction model). The Bayesian analysis follows the approach described in the Statistical framework Section, using independent uniform priors, μ r ~ 𝒰 ( 0 , 10 − 6 ) , μ K ~ 𝒰 ( 0 , 50 ) , σ r ~ 𝒰 ( 0 , 2 × 10 − 6 ) , and σ K ~ 𝒰 ( 0 , 10 ) . These priors are consistent with the analysis of Murphy et al., [ 40 ], and cover a range of physically viable values. The results, as shown in Fig 5 , indicate that the estimated hyper-parameters are sensitive to the synthetic data scenario. Firstly, the analysis of Scenario 1 results in posterior distributions that accurately recover the true hyper-parameters of μ r = 3.86125 × 10 − 7 ( Fig 5(a) ), μ K = 10 ( Fig 5(b) ), σ r = 4.56962 × 10 − 7 ( Fig 5(c) ), and σ K = 2 ( Fig 5(d) ). This is expected, since Scenario 1 represents our well-specified setting in which each replicate contains identical populations of cells. While this simulation validates the use of the pooled approach when when experimental replicates are genuinely the same [ 39 , 40 ], the results for Scenarios 2 and 3 demonstrate substantial sensitivity of the posteriors given deviations in one of the replicates. Fig 5. Pooled sample analysis of the nano-engineered particle-cell interaction experiment for the three synthetic data scenarios. Open in a new tab As described in Synthetic data scenarios, Scenario 1 (blue) is the i.i.d. case with no outliers, Scenario 2 (orange) has a single outlier replicate with a larger mean association rate, and Scenario 3 (green) has an additional outlier with a larger mean carrying capacity. Marginal posterior distributions for the hyper-parameters: (a) mean association rate, μ r ; (b) mean carrying capacity, μ K ; (c) association rate standard deviation, σ r ; and (d) carrying capacity standard deviation, σ K . In Scenario 2, only one replicate was modified to have a mean association rate of μ r = 9.0 × 10 − 7 resulting in potential outlier in one of the replicates ( Fig 3(a) ) compared with the unmodified replicates ( Fig 3(c) ). This outlier replicate strongly affects the estimates for both the pooled associate rate distributions with inflated means μ r ( Fig 5(a) ) and standard deviations σ r ( Fig 5(c) ). While the results represent the best pooled sample inference given the outlier replicate, the results may not be meaningful for prediction in biological applications since the inferred heterogeneity does not represent any of the replicates accurately. The results are even more concerning for Scenario 3, where an addition replicate is modified to be an outlier association rate, μ r = 9.0 × 10 − 7 , and in carrying capacity μ K = 20 , since a shift in all four hyper-parameters occurs ( Fig 5 ). This means that the heterogeneity estimates for the pooled population are not representative of any of the three replicate populations. These results motivate the adoption of our extended hierarchical model in experimental settings for which variation is expected between replicates. Hierarchical analysis. We now demonstrate the advantages of our hierarchical framework (See Statistical framework) as a method for capturing heterogeneity in flow cytometry data when variation between replicates is present. We consider the same synthetic data scenarios (See Synthetic data scenarios) and apply our hierarchical framework to the particle-cell interaction model (See Example 1: Particle-cell interaction model) of Murphy [ 40 ]. Specifically, we consider the setting where the i th cell in the j th replicate population has its own associated rate, r i , j , and carrying capacity, K i , j . Following the pooled sample setting, we assume these parameters θ i , j = ( r i , j , K i , j ) are log-Normally distributed, however, we deviate from the pooled assumption by allowing each replicate population j = 1 , 2 , … , M to have its own mean association rate, μ r , j , and mean carrying capacity, μ K , j , r i , j ~ L o g N o r m a l ( μ r , j , σ r ) , and K i , j ~ L o g N o r m a l ( μ K , j , σ K ) . Note that the pooled sample model is recovered for the special case where μ r , 1 = μ r , 2 = ⋯ = μ r , M and μ K , 1 = μ K , 2 = ⋯ = μ K , M . We further assign a Normal distribution to the replicate population means, μ r , j ~ 𝒩 ( m r , s r ) , and μ K , j ~ 𝒩 ( m K , s K ) , where m r (resp. m K ) and s r (resp. s K ) are the mean and standard deviation of the replicate population association rate (resp. carrying capacity) means. Thus we infer intra-experimental heterogeneity for replicate population j through inference of the hyper-parameters ϕ j = ( μ r , j , μ K , j , σ r , σ K ) and inter-experimental heterogeneity though the population level hyper-parameters, ψ = ( m r , m K , s r , s K ) . We perform Bayesian inference for the full joint posterior for the two levels of hyper-parameters ( Eqs. (8) and (11) ). For the population level parameters, we apply independent uniform priors for the means m r ~ 𝒰 ( 0 , 10 − 6 ) , m K ~ 𝒰 ( 0 , 50 ) , and weakly informative half Cauchy priors for the standard deviations σ r ~ Half-Cauchy ( 3 × 10 − 7 ) and σ k ~ Half-Cauchy ( 0.5 ) . Note the shape parameters for the half Cauchy priors are determined based on the guidelines of Gelman et al., [ 51 ] with regard to selection of weakly informative priors for standard deviation terms in Bayesian hierarchical models with small numbers of groups. The results, shown in Fig 6 , highlight the value of our hierarchical approach. In Scenario 1 we accurately identify replicates are i.i.d. with p ( μ r , 1 ∣ 𝒟 ) ≈ p ( μ r , 2 ∣ 𝒟 ) ≈ p ( μ r , 3 ∣ 𝒟 ) ( Fig 6(a) – 6(c) ), and p ( μ K , 1 ∣ 𝒟 ) ≈ p ( μ K , 2 ∣ 𝒟 ) ≈ p ( μ K , 3 ∣ 𝒟 ) ( Fig 6(e) – 6(g) ). Furthermore the outlier replicates in Scenario 2 (replicate 1 with larger μ r , 1 ; Fig 6(a) ) and Scenario 3 (replicate 1 with larger μ r , 1 , and replicate 2 with larger μ K , 2 ; Fig 6(a) and 6 (f)), are directly captured with only minor inflation in the variance of the posterior distributions for the remaining replicate populations ( Fig 6(b) and 6 (c) for Scenario 2, and Fig 6(b) , 6(c) , 6 (e) and 6(g) for Scenario 3). Fig 6. Hierarchical analysis of the nano-engineered particle-cell interaction experiment for the three synthetic data scenarios. Open in a new tab As described in Synthetic data scenarios, Scenario 1 (blue) is the i.i.d. case with no outliers, Scenario 2 (orange) has a single outlier replicate with a larger mean association rate, and Scenario 3 (green) has an additional outlier with a larger mean carrying capacity. Marginal posterior distributions are shown for the replicate hyper-parameters: (a) – (c) mean association rates, μ r , j for replicates j = 1,2,3; (d) association rate standard deviation, σ r ; (e) – (g) mean carrying capacity, μ K , j for replicates j = 1,2,3; and (h) carrying capacity standard deviation, σ K . Marginal posterior distribution are shown for the population level hyper-parameters: (i) mean of association rate means, m r ; (j) mean of carrying capacity means, m K ; (k) standard deviation of association rate means, s r ; and (l) standard deviation of carrying capacity means, s K . Outlier mean association rates ((a), orange and green) and mean carrying capacity ((f), green) are identified, whereas information sharing lead to robust population level heterogeneity estimates (i)–(l). In addition to reliable characterisation of heterogeneity for each replicate population, we also obtain estimates of the inter-experimental heterogeneity that are insensitive to variation in a single replicate. This is evidenced by substantial overlap in the posterior probability densities around the true population level means ( Fig 6(i) and 6 (j)) and standard deviations ( Fig 6(k) and 6 (l)). In almost all cases, the true population level hyper-parameter is within the bulk density region of the posterior distribution. The exception, is the population standard deviation parameter for the carrying capacity mean s K in Scenario 3 ( Fig 6(l) ), however, the deviation in the posterior distributions for s K across scenarios is substantially less than that of the equivalent pooled sample analysis ( Fig 5(d) ). This robustness in population level inferences arises from the between-replicate information sharing inherent to the hierarchical model. Dual-labelled probe internalisation experiments To demonstrate the generality of or framework, we perform a similar simulation study based on the study of heterogeneity in cell internalisation processes by Browning et al., [ 39 ]. The internalisation process of a cell is modelled according an ODE system (See Example 2: Internalisation model) with each cell having its own internalisation rate, λ i , recycling rate, β i , and initial receptor density R i . The heterogeneity in these parameters is modelled, in the pooled sample setting, according to λ i ~ ShiftedGamma ( μ λ , σ λ , ω λ ) , β i ~ ShiftedGamma ( μ β , σ β , ω β ) , R 0 , i ~ ShiftedLogNormal ( μ R 0 , σ R 0 ) , where μ λ , σ λ , and ω λ (resp. μ β , σ β , and ω β ) are the mean, standard deviation, and skewness of the internalisation rate (resp. recycling rate). Here, μ R 0 , σ R 0 are the standard log-Normal parameters and the distribution of R 0, i is shifted such that 𝔼 [ R 0 , i ] = 1 (See Browning et al., [ 39 ] for further details). For inference, these distribution hyper-parameters are of interest along with the disassociation rate p , that is, ϕ = ( μ λ , σ λ , ω λ , μ β , σ β , ω β , μ R 0 , σ R 0 , p ) . As per Eq. (5) , parameters for to the observation process, η = ( α 1 , α 2 , σ 1 , σ 2 ) , are also inferred, however, we do not focus on these here. Synthetic data scenarios. For the internalisation model (See Example 2: Internalisation model) we generate synthetic data inspired by the data collected by Browning et al., [ 39 ] (See Dual-labelled probe internalisation data). Here, we have M = 3 replicates, each consisting of quenched/unquenched sample pairs of N = 1,000 cells each. Simulated flow cytometry snapshots are taken at n = 7 observation times, t 1 = 5 [min], t 2 = 10 [min], t 3 = 20 [min], t 4 = 30 [min], t 5 = 40 [min], t 6 = 120 [min], and t 7 = 180 [min]. As before (See Synthetic data scenarios), we treat the different snapshots as being generated by identically prepared technical replicates, and thus having the same intra-experimental heterogeneity. We consider two scenarios based: Scenario 1: All M replicates are i.i.d., with hyper-parameters μ λ = 0.08 , σ λ = 0.01 , ω λ = 0.9 , μ β = 0.05 , σ β = 0.005 , ω β = − 1.0 μ R = 0.05 , and σ R = 0.01 . Scenario 2: Cell parameters in replicate 1 are generated with a smaller mean internalisation rate μ λ = 0.02 . Replicates 2 and 3 are identical to Scenario 1. In both scenarios, p = 0.075, α 1 = 8500 , α 2 = 38 , σ 1 = 5 , and σ 2 = 2 . Parameter values are obtained based on the analysis of Browning et al., [ 39 ]. Fig 7 provides an example of the synthetic flow cytometry data generated for Scenario 2. Fig 7. Synthetic flow cytometry population snapshot data example simulating the dual-labelled probe internalisation experiments. Open in a new tab Each histogram represent the simulated fluorescence distribution of the quenchable probe (FIP-Cy5) for 1,000 observed cells cells in the quenched sample (orange) and 1,000 observed cells in the unquenched sample (red) at one of seven observation times ( t 1 = 5 [min], t 2 = 10 [min], t 3 = 20 [min], t 4 = 30 [min], t 5 = 60 [min], t 6 = 120 [min], and t 7 = 180 [min]). Replicate 1 (row (a) ) is generated with a mean internalisation rate of μ λ = 0.02 , a mean recycling rate of μ β = 0.05 and a log-normal mean initial receptor concentration of μ R = 0.05 . Replicates 2 and 3 (rows (b) and (c) ) are generated with a mean internalisation rate of μ λ = 0.08 , a mean recycling rate of μ β = 0.05 and a log-normal mean initial receptor concentration of μ R = 0.05 . All replicates have the same standard deviation parameters, σ λ = 0.01 , σ β = 0.01 , and σ R = 0.01 . Here Replicate 1 (row (a)) represents an experimental outlier with a lower mean internatisation rate, resulting in a clear differences between quenched (orange) and unquenched (red) fluorescent distributions even at late time. In contrast, both Replicates 2 and 3 (rows (b) and (c)), obtain near identical quenched (orange) and unquenched (red) fluorescent distributions after t = 60 [min]. As with the nano-particle cell interaction example (See Synthetic data scenarios), Scenario 1 represents the setting in which the pooled analysis is expected to be accurate, whereas Scenario 2 includes an outlier replicate ( Fig 7(a) ) with a smaller internalisation rate. This results in the quenched and unquenched samples being distinguishable throughout all snapshots. By comparison, replicates 2 and 3 lead to almost identical fluorescence distributions for quenched and unquenched at t = 30 [min]. The effect of pooling on quantification of heterogeneity. In the pooled analysis, we note that the estimated variance of the internalisation rate is inflated to account for the variation across experimental replicates ( Fig 8(a) ). While the hierarchical approach provides more details with replicate specific parameter distributions, the inflated variance in the pooled approach seems an appropriate global approximation. However, the pooled analysis also inflates the variance of the recycling rate ( Fig 8(b) ) for which there is no substantial experimental heterogeneity. Conversely the pooled and hierarchical results for the initial receptor density are practically identical ( Fig 8(c) ). A reasonable explanation for the incorrect inflation of the β distribution is the relationship between λ and β in the model Eq. (4) as receptor recycling is effectively a reversal of internalisation. Fig 8. Heterogeneity in posterior cell parameter distributions resulting from pooled and hierarchical analysis of the internalisation model. Open in a new tab Marginal distributions are shown for: (a) the internalisation rate, λ , (b) the recycling rate, β , and (c) the initial receptor density, R . Data Scenario 2 is used (See Synthetic data scenarios and Fig 7 ) which exhibits variation across replicates in the mean internalisation rate. Here, Replicate 1 (blue) represents an experimental outlier with a lower mean internalisation rate (a). In this setting, the pooled sample (black) is not able to capture the biological heterogeneity in interalisation rates (a) or recycling rates (b). The pooled sample is able to quantify biological heterogeneity in the initial receptor density (c) as this parameter is insensitive to the rate parameters. Pooled sample analysis. Here we investigate how deviations in the i.i.d. assumption affect quantification of biological heterogeneity, and the impact this has on estimates of global parameters, such as the disassociation probability p . For the pooled sample analysis we follow Browning et al., [ 39 ] to estimate the hyper-parameters, ϕ = ( μ λ , σ λ , ω λ , μ β , σ β , ω β , , μ R 0 , σ R 0 , p ) that relate to heterogeneity in internalisation rates, recycling rates, and the receptor concentrations. In addition, the purely chemical disassociation probability constant p is also. The experimental heterogeneity incorporated into data Scenario 2 results in substantial estimated bias and variance inflation for both the mean ( Fig 9(a) ) and standard deviation ( Fig 9(b) ) parameters for the internalisation rate. Just as with the particle-cell interaction model (See Nano-engineered particle-cell interaction experiments), the pooled sample analysis results are extremely sensitive to experimental heterogeneity. In addition, inferences of parameters with no biological or experimental heterogeneity, such as the disassociation rate p ( Fig 9(c) ), are impacted by experimental heterogeneity in the internalisation rate. Other parameter inferences are also inaccurate for Scenario 2, however, we focus here on the internalisation rate and the disassociation rate. Fig 9. Pooled sample analysis of the dual-label probe internalisation experiment for the two synthetic data scenarios. Open in a new tab As described in Synthetic data scenarios, Scenario 1 (blue) is the i.i.d. case with no outliers, and Scenario 2 (orange) has a single outlier replicate with a lower mean internalisation rate. Marginal posterior distributions for the hyper-parameters: (a) mean internalisation rate, μ λ ; (b) internalisation rate standard deviation, σ λ ; and (d) the disassociation rate, p . Hierarchical analysis. Expanding the analysis of Browning et al., [ 39 ] according to our framework (See Statistical framework) leads to the i th cell in the j th replicate population having its own internalisation rate, λ i , j , recycling rate, β i , j , and initial receptor density, R i , j . Further we allow the each of the replicate populations to have its own mean internalisation rate, μ λ , j , mean recycling rate, μ β , j , and mean initial receptor density, μ R , j , λ i , j ~ ShiftedGamma ( μ λ , j , σ λ , ω λ ) , β i , j ~ ShiftedGamma ( μ β , j , σ β , ω β ) , R i , j ~ ShiftedLogNormal ( μ R , j , σ R ) , and treat the replicate population means as normally distributed, μ λ , j ~ 𝒩 ( m λ , s λ ) , μ β , j ~ 𝒩 ( m β , s β ) , and μ R 0 , j ~ 𝒩 ( m R 0 , s R 0 ) . We observe improved results that accurately estimate the mean internalisation rate for each replicate population in both scenarios ( Fig 10(a) – 10(c) ) while quantifying the experimental heterogeneity across replicates ( Fig 10(e) – 10(f) ). Furthermore the disassociation rate is precisely the same in both scenarios (( Fig 10(g) ). These results highlight that pooled analysis should only be used when there is high certainty in the i.i.d. assumption across replicates. Fig 10. Hierarchical analysis of the dual-labelled probe internalisation experiment for the two synthetic data scenarios. Open in a new tab As described in Synthetic data scenarios, Scenario 1 (blue) isn the i.i.d. cae with no outliers, and Scenario 2 (orange) has a singe outlier replicate with a lower mean internalisation rate. Marginal posterior distributions are shown for the replicate hyper-parameters: (a) – (c) mean internalisation rates, μ λ , j for replicates j = 1,2,3; (d) internalisation rate standard deviation, σ λ . Marginal posterior distributions are shown for the population level hyper-parameters: (e) mean of internalisation rate means, m λ ; (f) standard deviation of internalisation rate means, s λ ; and (g) disassociation rate p . The outlier mean internalisation rate in Scenario 2, Replicate 1 ((a), orange) is identified, while population estimates ((e)–(f)) and homogeneous disassociation rate estimates (g) are robust to this outlier. Discussion The reliable quantification of heterogeneity in cell populations is crucial to ensure accurate assessment and prediction of treatment efficacy [ 12 – 14 ], especially in the setting of targeted therapeutics [ 9 – 11 ]. Various approaches to modelling and analysis have been developed in the literature to quantify this heterogeneity using cell population snapshots obtained through flow cytometry. However, variability between experimental replicates is rarely considered. In this work, we present a Bayesian hierarchical framework to quantify biological and experimental heterogeneity simultaneously when using mechanistic models of cell dynamics. This is an important development, since previous approaches for quantification of heterogeneity using mechanistic models have only considered pooled samples and neglected experimental heterogeneity [ 29 , 30 , 39 , 40 ]. We demonstrated our framework using a two-level hierarchical approach that modelled heterogeneity within experimental replicates and heterogeneity between each replicate. This could naturally be extended to include additional levels that might describe heterogeneity across different labs, instrument configurations, or cell lines. Alternatively, in other experimental settings that support tracking of individual cells [ 32 , 52 ], then the individual cell parameters could also be estimated. This would naturally come with additional computational challenges due to the larger dimensional parameter space, but such challenges are not insurmountable ( S1 Appendix ). Our simulation examples assume the scenario in which experimental replicates are repeats of the same experimental conditions. That is, the inter-experimental heterogeneity would be largely to do with variations in the instrumental configuration, operator and variations in uncontrolled aspects of the environment. However, our tools are also entirely applicable to setting in which experimental conditions are also varied, such as different treatments, dosage levels, or cell perturbations [ 32 , 52 ]. As noted in S1 Appendix , such an extension could be introduced with a three-level hierarchical model. As a result, data integration over multiple experimental conditions could be exploited to reduce certain parameter identifiability problems that are common in single-cell experiments [ 32 , 53 ]. Here, we only consider inter-experimental heterogeneity in the parameter means across replicate populations. Experimental heterogeneity in the parameter variances are mathematically straightforward to introduce. However, some care should be taken to avoid non-identifiablity issues arising, especially for small numbers of replicates M [ 54 ]. Weakly informative priors, such as the Half-Cauchy prior, are necessary for the variance hyper-parameter of the sub-population parameter means in the low replicate number setting M = 3 [ 51 ], and this would necessarily be more complex with experimental heterogeneity in variances [ 55 ]. As a result, we recommend that experimental heterogeneity in the replicate population parameter variances only be considered when the number of replicates, M , is large. As our method was developed and presented as an extension to the pooled sample approaches [ 39 , 40 ], we utilised similar modelling and analysis decisions. These could be adjusted as appropriate for other applications. For example, we assumed that heterogeneity is driven by variation between individual cells and that stochastic effects are negligible. In rare circumstances analytical solutions are available to account for non-negligible intrinsic noise [ 56 ], however, it is often necessary to use stochastic model [ 49 , 57 ]. Since we rely on ABC for parameter inference, our framework is completely applicable to stochastic modelling approaches, including agent-based models or stochastic differential equations (SDEs). In other settings where intrinsic stochasticity is negligible and the population size is very large, continuum models (in the sense of the observed cell count N j → ∞ for all j ) could be used [ 58 ]. For example population balance models or phenotype-structured partial differential equation models could be plausible in this setting may be appropriate and would enable more complex dynamics to be included, such as cell division and cell death [ 58 – 61 ]. To capture intra-experimental heterogeneity in this case, care must be taken as individual cells are no longer explicitly modelled [ 62 ], but rather a continuous cell population density. This renders biologically heterogeneous parameters to be functions of cell density [ 63 ]. In effect this renders biological heterogeneity as a random function, rather than N j i.i.d. samples θ 1 , j , … , θ N j , j ~ p ( · ∣ ψ j ) . To characterise biological heterogeneity in this setting, distributions on functions or random measures [ 64 – 67 ] may be needed. This would be an interesting line of future research. The use of traditional simulation-based inference methods, such as ABC, could be considered a limitation due to the necessity of a tolerance threshold, ϵ > 0 , that affects the accuracy of the posterior approximation [ 68 – 70 ]. In addition, targeting a very small ϵ is generally computationally burdensome and modern machine learning approaches are generally considered more efficient in this respect [ 70 – 73 ]. In the non-linear mixed-effects modelling setting, these methods have been extended to achieve more computationally efficient inference through the use of the amortization property to rapidly estimate individual scale likelihoods that can be adapted to obtain population level posteriors [ 35 , 36 ]. However, one desirable property of ABC, particularly in the context of biological modelling, is its robustness to model misspecification or model uncertainty [ 74 – 77 ]. While robust versions of modern machine learning methods continue to be developed [ 78 – 84 ], there is a serious lack of theoretical guarantees on how these methods behave in the misspecified setting. As a result, we still recommend ABC approaches when model misspecification is likely. In situations where ABC is completely computationally infeasible, then the methods of Arruda et al. [ 35 ], and Häggström [ 36 ] could potentially be extended to our modelling framework. Some care would be needed in dealing with our shared environment component ( Eq. (6) ), but this would be a promising step forward, especially if ideas from robust simulation-based inference could be incorporated [ 78 – 84 ]. While our approach is developed with flow cytometry experiments in mind [ 39 , 40 ], the method itself is general to any setting with population snapshot data taken from interacting individuals. For example, in the study of marine ecology, hierarchical Bayesian models are frequently used to describe coral reefs that vary across spatial regions [ 85 , 86 ], however, mechanistic descriptions are typically only done on the level of individual reefs [ 87 , 88 ]. Our approach would be well suited to account for spatial heterogeneity in these mechanistic models for more realistic large scale reef forecasts. Conclusion We have highlighted that caution must be taken when using pooled sample approaches to avoid potential bias or inaccuracies in quantification of biological heterogeneity. Our approach provides a means of reliable inference when experimental heterogeneity is present. Furthermore, we can quantify the heterogeneity across experiential replicates. This, in turn, could be used to identify potentially problematic replicates and improve experimental protocols. Due to these properties, our method has the potential to greatly enhance the biological insights that can be obtained through flow cytometry and advance developments in quantitative biology. Finally, our approach is generally applicable to other experimental techniques, such as microarrays that can result in drift and change between experimental replicates [ 89 ], and to other analysis settings, such as the integration of multiple experimental conditions [ 32 , 52 ]. We provide open-source implementations of our methods on GitHub. Supporting information S1 Appendix. Three-level hierarchical extensions. (PDF) pcbi.1014379.s001.pdf (153.2KB, pdf) S2 Appendix. Computational inference. (PDF) pcbi.1014379.s002.pdf (214KB, pdf) Acknowledgments The authors thank Adrianne Jenner and Adriana Zanca for helpful discussions. Computational resources and services used in this work were provided by the eResearch Office, Queensland University of Technology, Brisbane, Australia. Data Availability Code and relevant data to reproduce the results in this work are available on Git Hub at https://github.com/davidwarne/multilevelHierarchicalODEs . Funding Statement This project was supported by the Australian Research Council (ARC). DJW is supported by an ARC Discovery Early Career Researcher Award (DE250100396). STJ and MF are supported by an ARC Discovery Project (DP230100380). STJ is also supported by an ARC Discovery Project (DP250100477). SAS is supported by an ARC Discovery Project (DP260101134). DJW, APB, and STJ acknowledge support from the ARC Centre of Excellence for the Mathematical Analysis of Cellular Systems (MACSYS; CE230100001). APB thanks the Mathematical Institute, University of Oxford for a Hooke Research Fellowship. The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript. References 1. Gough A, Stern AM, Maier J, Lezon T, Shun TY, Chennubhotla C. Biologically relevant heterogeneity: metrics and practical insights. SLAS Discov. 2017;22(3):213–37. doi: 10.1177/2472555216682725 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 2. Gordon S, Plüddemann A. Tissue macrophages: heterogeneity and functions. BMC Biol. 2017;15(1):53. doi: 10.1186/s12915-017-0392-4 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 3. Wynn TA, Chawla A, Pollard JW. Macrophage biology in development, homeostasis and disease. Nature. 2013;496(7446):445–55. doi: 10.1038/nature12034 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 4. Kwapiszewska K. Physicochemical perspective of biological heterogeneity. ACS Phys Chem Au. 2024;4(4):314–21. doi: 10.1021/acsphyschemau.3c00079 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 5. Anderson TL, Nande A, Merenstein C, Raynor B, Oommen A, Kelly BJ, et al. Quantifying individual-level heterogeneity in infectiousness and susceptibility through household studies. Epidemics. 2023;44:100710. doi: 10.1016/j.epidem.2023.100710 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 6. Chisholm RH, Lorenzi T, Clairambault J. Cell population heterogeneity and evolution towards drug resistance in cancer: biological and mathematical assessment, theoretical treatment optimisation. Biochim Biophys Acta. 2016;1860(11 Pt B):2627–45. doi: 10.1016/j.bbagen.2016.06.009 [ DOI ] [ PubMed ] [ Google Scholar ] 7. Hilton LK, Scott DW, Morin RD. Biological heterogeneity in diffuse large B-cell lymphoma. Semin Hematol. 2023;60(5):267–76. doi: 10.1053/j.seminhematol.2023.11.006 [ DOI ] [ PubMed ] [ Google Scholar ] 8. Wu VH, Nordin JML, Nguyen S, Joy J, Mampe F, Del Rio Estrada PM, et al. Profound phenotypic and epigenetic heterogeneity of the HIV-1-infected CD4+ T cell reservoir. Nat Immunol. 2023;24(2):359–70. doi: 10.1038/s41590-022-01371-3 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 9. Gewandter JS, McDermott MP, He H, Gao S, Cai X, Farrar JT, et al. Demonstrating heterogeneity of treatment effects among patients: an overlooked but important step toward precision medicine. Clin Pharmacol Ther. 2019;106(1):204–10. doi: 10.1002/cpt.1372 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 10. Kravitz RL, Duan N, Braslow J. Evidence‐based medicine, heterogeneity of treatment effects, and the trouble with averages. Milbank Q. 2004;82(4):661–87. doi: 10.1111/j.0887-378x.2004.00327.x [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 11. Pang M, Gabelle A, Saha-Chaudhuri P, Huijbers W, Gafson A, Matthews PM, et al. Precision medicine analysis of heterogeneity in individual-level treatment response to amyloid beta removal in early Alzheimer’s disease. Alzheimers Dement. 2024;20(2):1102–11. doi: 10.1002/alz.13431 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 12. Gough AH, Chen N, Shun TY, Lezon TR, Boltz RC, Reese CE, et al. Identifying and quantifying heterogeneity in high content analysis: application of heterogeneity indices to drug discovery. PLoS One. 2014;9(7):e102678. doi: 10.1371/journal.pone.0102678 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 13. Kashyap A, Rapsomaniki MA, Barros V, Fomitcheva-Khartchenko A, Martinelli AL, Rodriguez AF, et al. Quantification of tumor heterogeneity: from data acquisition to metric generation. Trends Biotechnol. 2022;40(6):647–76. doi: 10.1016/j.tibtech.2021.11.006 [ DOI ] [ PubMed ] [ Google Scholar ] 14. Kropivsek K, Kachel P, Goetze S, Wegmann R, Festl Y, Severin Y, et al. Ex vivo drug response heterogeneity reveals personalized therapeutic strategies for patients with multiple myeloma. Nat Cancer. 2023;4(5):734–53. doi: 10.1038/s43018-023-00544-9 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 15. Steininger RJ 3rd, Rajaram S, Girard L, Minna JD, Wu LF, Altschuler SJ. On comparing heterogeneity across biomarkers. Cytometry A. 2015;87(6):558–67. doi: 10.1002/cyto.a.22599 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 16. Adan A, Alizada G, Kiraz Y, Baran Y, Nalbant A. Flow cytometry: basic principles and applications. Crit Rev Biotechnol. 2017;37(2):163–76. doi: 10.3109/07388551.2015.1128876 [ DOI ] [ PubMed ] [ Google Scholar ] 17. Givan AL. Flow cytometry: an introduction. In: Flow cytometry. Humana Press; 2010. p. 1–29. 10.1007/978-1-61737-950-5_1 [ DOI ] [ Google Scholar ] 18. McKinnon KM. Flow cytometry: an overview. Curr Protoc Immunol. 2018;120(1). doi: 10.1002/cpim.40 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 19. Altschuler SJ, Wu LF. Cellular heterogeneity: do differences make a difference? Cell. 2010;141(4):559–63. doi: 10.1016/j.cell.2010.04.033 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 20. Carter B, Zhao K. The epigenetic basis of cellular heterogeneity. Nat Rev Genet. 2021;22(4):235–50. doi: 10.1038/s41576-020-00300-0 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 21. Elowitz MB, Levine AJ, Siggia ED, Swain PS. Stochastic gene expression in a single cell. Science. 2002;297(5584):1183–6. doi: 10.1126/science.1070919 [ DOI ] [ PubMed ] [ Google Scholar ] 22. Kell DB, Ryder HM, Kaprelyants AS, Westerhoff HV. Quantifying heterogeneity: flow cytometry of bacterial cultures. Antonie Van Leeuwenhoek. 1991;60(3–4):145–58. doi: 10.1007/BF00430362 [ DOI ] [ PubMed ] [ Google Scholar ] 23. van Merode AEJ, van der Mei HC, Busscher HJ, Waar K, Krom BP. Enterococcus faecalis strains show culture heterogeneity in cell surface charge. Microbiology (Reading). 2006;152(Pt 3):807–14. doi: 10.1099/mic.0.28460-0 [ DOI ] [ PubMed ] [ Google Scholar ] 24. Banks HT, Kapraun DF, Thompson WC, Peligero C, Argilaguet J, Meyerhans A. A novel statistical analysis and interpretation of flow cytometry data. J Biol Dyn. 2013;7(1):96–132. doi: 10.1080/17513758.2013.812753 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 25. Burel JG, Qian Y, Lindestam Arlehamn C, Weiskopf D, Zapardiel-Gonzalo J, Taplitz R, et al. An integrated workflow to assess technical and biological variability of cell population frequencies in human peripheral blood by flow cytometry. J Immunol. 2017;198(4):1748–58. doi: 10.4049/jimmunol.1601750 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 26. Galbusera L, Bellement-Theroue G, Urchueguia A, Julou T, van Nimwegen E. Using fluorescence flow cytometry data for single-cell gene expression analysis in bacteria. PLoS One. 2020;15(10):e0240233. doi: 10.1371/journal.pone.0240233 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 27. Brinkman RR. Improving the rigor and reproducibility of flow cytometry‐based clinical research and trials through automated data analysis. Cytometry A. 2019;97(2):107–12. doi: 10.1002/cyto.a.23883 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 28. Giesecke C, Feher K, von Volkmann K, Kirsch J, Radbruch A, Kaiser T. Determination of background, signal-to-noise, and dynamic range of a flow cytometer: a novel practical method for instrument characterization and standardization. Cytometry A. 2017;91(11):1104–14. doi: 10.1002/cyto.a.23250 [ DOI ] [ PubMed ] [ Google Scholar ] 29. Faria M, Noi KF, Dai Q, Björnmalm M, Johnston ST, Kempe K, et al. Revisiting cell-particle association in vitro: a quantitative method to compare particle performance. J Control Release. 2019;307:355–67. doi: 10.1016/j.jconrel.2019.06.027 [ DOI ] [ PubMed ] [ Google Scholar ] 30. Johnston ST, Faria M, Crampin EJ. Isolating the sources of heterogeneity in nano-engineered particle-cell interactions. J R Soc Interface. 2020;17(166):20200221. doi: 10.1098/rsif.2020.0221 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 31. Hahne F, Khodabakhshi AH, Bashashati A, Wong C, Gascoyne RD, Weng AP, et al. Per‐channel basis normalization methods for flow cytometry data. Cytometry A. 2009;77A(2):121–31. doi: 10.1002/cyto.a.20823 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 32. Fröhlich F, Reiser A, Fink L, Woschée D, Ligon T, Theis FJ, et al. Multi-experiment nonlinear mixed effect modeling of single-cell translation kinetics after transfection. NPJ Syst Biol Appl. 2018;5:1. doi: 10.1038/s41540-018-0079-7 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 33. Pyne S, Hu X, Wang K, Rossin E, Lin T-I, Maier LM, et al. Automated high-dimensional flow cytometric data analysis. Proc Natl Acad Sci U S A. 2009;106(21):8519–24. doi: 10.1073/pnas.0903028106 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 34. Johnsson K, Wallin J, Fontes M. BayesFlow: latent modeling of flow cytometry cell populations. BMC Bioinform. 2016;17:25. doi: 10.1186/s12859-015-0862-z [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 35. Arruda J, Schälte Y, Peiter C, Teplytska O, Jaehde U, Hasenauer J. An amortized approach to non-linear mixed-effects modeling based on neural posterior estimation. In: Salakhutdinov R, Kolter Z, Heller K, Weller A, Oliver N, Scarlett J, et al., editors. Proceedings of the 41st International Conference on Machine Learning. vol. 235 of Proceedings of Machine Learning Research. PMLR; 2024. p. 1865–901. Available from: https://proceedings.mlr.press/v235/arruda24a.html [ Google Scholar ] 36. Häggström H, Persson S, Cvijovic M, Picchini U. Simulation-based inference for stochastic nonlinear mixed-effects models with applications in systems biology. Stat Comput. 2026;36(3):99. doi: 10.1007/s11222-026-10850-8 [ DOI ] [ Google Scholar ] 37. Hejblum BP, Alkhassim C, Gottardo R, Caron F, Thiébaut R. Sequential Dirichlet process mixtures of multivariate skew $t$-distributions for model-based clustering of flow cytometry data. Ann Appl Stat. 2019;13(1). doi: 10.1214/18-aoas1209 [ DOI ] [ Google Scholar ] 38. Lee SX, McLachlan GJ, Pyne S. Automated gating and dimension reduction of high-dimensional cytometry data. Springer International Publishing; 2021. p. 281–94. 10.1007/978-3-030-57204-4_16 [ DOI ] [ Google Scholar ] 39. Browning AP, Ansari N, Drovandi C, Johnston APR, Simpson MJ, Jenner AL. Identifying cell-to-cell variability in internalization using flow cytometry. J R Soc Interface. 2022;19(190):20220019. doi: 10.1098/rsif.2022.0019 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 40. Murphy RJ, Faria M, Osborne JM, Johnston ST. Quantifying biological heterogeneity in nano-engineered particle-cell interaction experiments. J R Soc Interface. 2025;22(230):20250206. doi: 10.1098/rsif.2025.0206 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 41. FitzGerald LI, Johnston APR. It’s what’s on the inside that counts: techniques for investigating the uptake and recycling of nanoparticles and proteins in cells. J Colloid Interface Sci. 2021;587:64–78. doi: 10.1016/j.jcis.2020.11.076 [ DOI ] [ PubMed ] [ Google Scholar ] 42. Selby LI, Aurelio L, Yuen D, Graham B, Johnston APR. Quantifying cellular internalization with a fluorescent click sensor. ACS Sens. 2018;3(6):1182–9. doi: 10.1021/acssensors.8b00219 [ DOI ] [ PubMed ] [ Google Scholar ] 43. Dumont C, Czuba E, Chen M, Villadangos JA, Johnston APR, Mintern JD. DNA-based probes for flow cytometry analysis of endocytosis and recycling. Traffic. 2017;18(4):242–9. doi: 10.1111/tra.12466 [ DOI ] [ PubMed ] [ Google Scholar ] 44. Liu H, Johnston APR. A programmable sensor to probe the internalization of proteins and nanoparticles in live cells. Angew Chem Int Ed Engl. 2013;52(22):5744–8. doi: 10.1002/anie.201301243 [ DOI ] [ PubMed ] [ Google Scholar ] 45. Hasenauer J, Waldherr S, Doszczak M, Radde N, Scheurich P, Allgöwer F. Identification of models of heterogeneous cell populations from population snapshot data. BMC Bioinform. 2011;12:125. doi: 10.1186/1471-2105-12-125 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 46. Jin W, Shah ET, Penington CJ, McCue SW, Chopin LK, Simpson MJ. Reproducibility of scratch assays is affected by the initial degree of confluence: experiments, modelling and model selection. J Theor Biol. 2016;390:136–45. doi: 10.1016/j.jtbi.2015.10.040 [ DOI ] [ PubMed ] [ Google Scholar ] 47. Sisson SA, Fan Y, Beaumont M. Approximate Bayesian computation. Taylor Francis Group; 2018. [ Google Scholar ] 48. Sunnåker M, Busetto AG, Numminen E, Corander J, Foll M, Dessimoz C. Approximate Bayesian computation. PLoS Comput Biol. 2013;9(1):e1002803. doi: 10.1371/journal.pcbi.1002803 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 49. Warne DJ, Baker RE, Simpson MJ. Simulation and inference algorithms for stochastic biochemical reaction networks: from basic concepts to state-of-the-art. J R Soc Interface. 2019;16(151):20180943. doi: 10.1098/rsif.2018.0943 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 50. Drovandi CC, Pettitt AN. Estimation of parameters for macroparasite population evolution using approximate bayesian computation. Biometrics. 2011;67(1):225–33. doi: 10.1111/j.1541-0420.2010.01410.x [ DOI ] [ PubMed ] [ Google Scholar ] 51. Gelman A. Bayesian data analysis. 3rd ed. Chapman Hall/CRC Texts in Statistical Science. CRC Press; 2013. [ Google Scholar ] 52. Kitanovski S, Conroy S, Sonneck J, Dorsch M, Urban S, Chen J. Uncertainty-aware quantitative analysis of high-throughput live cell migration data. 2025. doi: 10.1101/2025.06.12.659342 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 53. Browning AP, Flegg JA, Murphy RJ. A cautionary tale of model misspecification and identifiability. Bull Math Biol. 2025;88(1):5. doi: 10.1007/s11538-025-01573-4 [ DOI ] [ PubMed ] [ Google Scholar ] 54. Ogle K, Barber JJ. Ensuring identifiability in hierarchical mixed effects Bayesian models. Ecol Appl. 2020;30(7):e02159. doi: 10.1002/eap.2159 [ DOI ] [ PubMed ] [ Google Scholar ] 55. Chung Y, Rabe-Hesketh S, Dorie V, Gelman A, Liu J. A nondegenerate penalized likelihood estimator for variance parameters in multilevel models. Psychometrika. 2013;78(4):685–709. doi: 10.1007/s11336-013-9328-2 [ DOI ] [ PubMed ] [ Google Scholar ] 56. Dowling CV, Cevaal PM, Faria M, Johnston ST. On predicting heterogeneity in nanoparticle dosage. Math Biosci. 2022;354:108928. doi: 10.1016/j.mbs.2022.108928 [ DOI ] [ PubMed ] [ Google Scholar ] 57. Wilkinson DJ. Stochastic modelling for quantitative description of heterogeneous biological systems. Nat Rev Genet. 2009;10(2):122–33. doi: 10.1038/nrg2509 [ DOI ] [ PubMed ] [ Google Scholar ] 58. Ramkrishna D, Singh MR. Population balance modeling: current status and future prospects. Annu Rev Chem Biomol Eng. 2014;5:123–46. doi: 10.1146/annurev-chembioeng-060713-040241 [ DOI ] [ PubMed ] [ Google Scholar ] 59. Fernandez-de-Cossio-Diaz J, Mulet R. Maximum entropy and population heterogeneity in continuous cell cultures. PLoS Comput Biol. 2019;15(2):e1006823. doi: 10.1371/journal.pcbi.1006823 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 60. Guilberteau J, Jain P, Jolly MK, Pouchol C, Pouradier Duteil N. An integrative phenotype-structured partial differential equation model for the population dynamics of epithelial-mesenchymal transition. NPJ Syst Biol Appl. 2025;11(1):24. doi: 10.1038/s41540-025-00502-4 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 61. Villa C, Maini PK, Browning AP, Jenner AL, Hamis S, Cassidy T. Reducing phenotype-structured partial differential equations models of cancer evolution to systems of ordinary differential equations: a generalised moment dynamics approach. J Math Biol. 2025;91(2):22. doi: 10.1007/s00285-025-02246-5 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 62. Fuentes-Garí M, Misener R, García-Munzer D, Velliou E, Georgiadis MC, Kostoglou M, et al. A mathematical model of subpopulation kinetics for the deconvolution of leukaemia heterogeneity. J R Soc Interface. 2015;12(108):20150276. doi: 10.1098/rsif.2015.0276 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 63. Brown A, Stoukides DM, Tzanakakis ES. Quantifying human pluripotent stem cell attributes with population balance modeling. Stem Cell Res Ther. 2025;16(1):563. doi: 10.1186/s13287-025-04668-w [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 64. Li D, Jones A, Banerjee S, Engelhardt B. Bayesian multi-group gaussian process models for heterogeneous group-structured data. J Mach Learn Res. 2025;26:30. [ PMC free article ] [ PubMed ] [ Google Scholar ] 65. Savitsky T, Vannucci M, Sha N. Variable selection for nonparametric gaussian process priors: models and computational strategies. Stat Sci. 2011;26(1):130–49. doi: 10.1214/11-STS354 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 66. Papaspiliopoulos O, Roberts GO. Retrospective Markov chain Monte Carlo methods for Dirichlet process hierarchical models. Biometrika. 2008;95(1):169–86. doi: 10.1093/biomet/asm086 [ DOI ] [ Google Scholar ] 67. Quintana FA, Müller P, Jara A, MacEachern SN. The dependent dirichlet process and related models. Stat Sci. 2022;37(1). doi: 10.1214/20-sts819 [ DOI ] [ Google Scholar ] 68. Barber S, Voss J, Webster M. The rate of convergence for approximate Bayesian computation. Electron J Statist. 2015;9(1). doi: 10.1214/15-ejs988 [ DOI ] [ Google Scholar ] 69. Cranmer K, Brehmer J, Louppe G. The frontier of simulation-based inference. Proc Natl Acad Sci U S A. 2020;117(48):30055–62. doi: 10.1073/pnas.1912789117 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 70. Papamakarios G, Sterratt D, Murray I. Sequential neural likelihood: fast likelihood-free inference with autoregressive flows. In: Chaudhuri K, Sugiyama M, editors. Proceedings of the Twenty-Second International Conference on Artificial Intelligence and Statistics. vol. 89 of Proceedings of Machine Learning Research. PMLR; 2019. p. 837–48. Available from: https://proceedings.mlr.press/v89/papamakarios19a.html [ Google Scholar ] 71. Frazier DT, Kelly R, Drovandi C, Warne DJ. The statistical accuracy of neural posterior and likelihood estimation. arXiv:2411.12068 [Preprint]. 2024. http://arxiv.org/abs/2411.12068 10.48550/ARXIV.2411.12068 [ DOI ] 72. Papamakarios G, Nalisnick E, Rezende DJ, Mohamed S, Lakshminarayanan B. Normalizing flows for probabilistic modeling and inference. J Mach Learn Res. 2021;22(57):1–64. Available from: http://jmlr.org/papers/v22/19-1028.html [ Google Scholar ] 73. Lueckmann JM, Boelts J, Greenberg D, Goncalves P, Macke J. Benchmarking simulation-based inference. In: Banerjee A, Fukumizu K, editors. Proceedings of The 24th International Conference on Artificial Intelligence and Statistics. vol. 130 of Proceedings of Machine Learning Research. PMLR; 2021. p. 343–51. Available from: https://proceedings.mlr.press/v130/lueckmann21a.html [ Google Scholar ] 74. Frazier DT, Robert CP, Rousseau J. Model misspecification in approximate bayesian computation: consequences and diagnostics. J R Stat Soc Ser B Stat Methodol. 2020;82(2):421–44. doi: 10.1111/rssb.12356 [ DOI ] [ Google Scholar ] 75. Schälte Y, Hasenauer J. Efficient exact inference for dynamical systems with noisy measurements using sequential approximate Bayesian computation. Bioinformatics. 2020;36(Suppl_1):i551–9. doi: 10.1093/bioinformatics/btaa397 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 76. Wilkinson RD. Approximate Bayesian computation (ABC) gives exact results under the assumption of model error. Stat Appl Genet Mol Biol. 2013;12(2):129–41. doi: 10.1515/sagmb-2013-0010 [ DOI ] [ PubMed ] [ Google Scholar ] 77. Kelly RP, Warne DJ, Frazier DT, Nott DJ, Gutmann MU, Drovandi C. Simulation-based Bayesian inference under model misspecification. arXiv:2503.12315 [Preprint]. 2025. http://arxiv.org/abs/2503.12315 10.48550/ARXIV.2503.12315. [ DOI ] 78. Huang D, Bharti A, Souza A, Acerbi L, Kaski S. Learning robust statistics for simulation-based inference under model misspecification. In: Oh A, Naumann T, Globerson A, Saenko K, Hardt M, Levine S, editors. Advances in neural information processing systems. vol. 36. Curran Associates, Inc.; 2023. p. 7289–310. Available from: https://proceedings.neurips.cc/paper_files/paper/2023/file/16c5b4102a6b6eb061e502ce6736ad8a-Paper-Conference.pdf [ Google Scholar ] 79. Kelly RP, Nott DJ, Frazier DT, Warne DJ, Drovandi C. Misspecification-robust sequential neural likelihood for simulation-based inference. Trans Mach Learn Res. 2024. Available from: https://openreview.net/forum?id=tbOYJwXhcY 80. Kelly RP, Frazier DT, Warne DJ, Drovandi CC. Preconditioned robust neural posterior estimation for misspecified simulators. arXiv:2602.18004 [Preprint]. 2026. http://arxiv.org/abs/2602.18004 10.48550/ARXIV.2602.18004. [ DOI ] 81. Mishra A, Habermann D, Schmitt M, Radev ST, Bürkner PC. Robust amortized bayesian inference with self-consistency losses on unlabeled data. arXiv:2501.13483 [Preprint]. 2025. http://arxiv.org/abs/2501.13483 10.48550/ARXIV.2501.13483 [ DOI ] 82. Ward D, Cannon P, Beaumont M, Fasiolo M, Schmon S. Robust neural posterior estimation and statistical model criticism. In: Koyejo S, Mohamed S, Agarwal A, Belgrave D, Cho K, Oh A, editors. Advances in neural information processing systems. vol. 35. Curran Associates, Inc.; 2022. p. 33845–59. Available from: https://proceedings.neurips.cc/paper_files/paper/2022/file/db0eac6747e3631eb91095cd76065611-Paper-Conference.pdf [ Google Scholar ] 83. Wu Y, Radev ST, Tuerlinckx F. Testing and improving the robustness of amortized bayesian inference for cognitive models. Psychol Methods. 2026;31(3):476–500. doi: 10.1037/met0000814 [ DOI ] [ PubMed ] [ Google Scholar ] 84. Yuyan W, Evans M, Nott DJ. Robust Bayesian methods using amortized simulation-based inference. arXiv:2504.09475 [Preprint]. 2025. http://arxiv.org/abs/2504.09475 10.48550/ARXIV.2504.09475 [ DOI ] 85. Mellin C, Matthews S, Anthony KRN, Brown SC, Caley MJ, Johns KA, et al. Spatial resilience of the Great Barrier Reef under cumulative disturbance impacts. Glob Chang Biol. 2019;25(7):2431–45. doi: 10.1111/gcb.14625 [ DOI ] [ PubMed ] [ Google Scholar ] 86. Stuart-Smith RD, Brown CJ, Ceccarelli DM, Edgar GJ. Ecosystem restructuring along the Great Barrier Reef following mass coral bleaching. Nature. 2018;560(7716):92–6. doi: 10.1038/s41586-018-0359-9 [ DOI ] [ PubMed ] [ Google Scholar ] 87. Thompson A, Martin K, Logan M. Development of the coral index, a summary of coral reef resilience as a guide for management. J Environ Manage. 2020;271:111038. doi: 10.1016/j.jenvman.2020.111038 [ DOI ] [ PubMed ] [ Google Scholar ] 88. Warne DJ, Crossman K, Heron GEM, Sharp JA, Jin W, Wu PP-Y, et al. Mathematical modelling and uncertainty quantification for analysis of biphasic coral reef recovery patterns. Bull Math Biol. 2025;87(9):129. doi: 10.1007/s11538-025-01512-3 [ DOI ] [ PubMed ] [ Google Scholar ] 89. Leek JT, Scharpf RB, Bravo HC, Simcha D, Langmead B, Johnson WE, et al. Tackling the widespread and critical impact of batch effects in high-throughput data. Nat Rev Genet. 2010;11(10):733–9. doi: 10.1038/nrg2825 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Associated Data This section collects any data citations, data availability statements, or supplementary materials included in this article. Supplementary Materials S1 Appendix. Three-level hierarchical extensions. (PDF) pcbi.1014379.s001.pdf (153.2KB, pdf) S2 Appendix. Computational inference. (PDF) pcbi.1014379.s002.pdf (214KB, pdf) Data Availability Statement Code and relevant data to reproduce the results in this work are available on Git Hub at https://github.com/davidwarne/multilevelHierarchicalODEs . Articles from PLOS Computational Biology are provided here courtesy of PLOS ACTIONS View on publisher site PDF (3.4 MB) Cite Collections Permalink RESOURCES Similar articles Cited by other articles Links to NCBI Databases Follow NCBI NCBI on X (formerly known as Twitter) NCBI on Facebook NCBI on LinkedIn NCBI on GitHub NCBI RSS feed Connect with NLM NLM on X (formerly known as Twitter) NLM on Facebook NLM on YouTube National Library of Medicine 8600 Rockville Pike Bethesda, MD 20894 Web Policies FOIA HHS Vulnerability Disclosure Help Accessibility Careers NLM NIH HHS USA.gov Back to Top
Related documents
- Synthetic Household Populations and Evaluation Data: Global, Newcastle upon Tyne and Dar es Salaam Experiments#26348
- General Population Survey of the Social Sciences ALLBUS 1984 (Test-Retest Study)#312232
- Les estimations localisées de population#246807
- Revisiting dependence in multiple testing: empirical distribution approaches for FDP control#974080
- Interpreting Estimated Parameters and Measuring Individual Heterogeneity in Random Coefficient Models#942189
Retrieved via Conceptio: every document is proof-bundled with source, license, and retrieval metadata.
Read the Docs → · View CLI source on GitHub · Conceptio Open Knowledge Archive