Full text
47,583 characters
Β· extracted from
preprint-html
Β· click to expand
OSDR2.0 infers microenvironment-driven cell-state transitions and population dynamics from a single spatial biopsy | bioRxiv /* */ /* */ <!-- <!-- /*! * yepnope1.5.4 * (c) WTFPL, GPLv2 */ (function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f<d;f++)g=a[f].split("="),(e=z[g.shift()])&&(c=e(c,g));for(f=0;f<b;f++)c=x[f](c);return c}function g(a,e,f,g,h){var i=b(a),j=i.autoCallback;i.url.split(".").pop().split("?").shift(),i.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]),i.instead?i.instead(a,e,f,g,h):(y[i.url]?i.noexec=!0:y[i.url]=1,f.load(i.url,i.forceCSS||!i.forceJS&&"css"==i.url.split(".").pop().split("?").shift()?"c":c,i.noexec,i.attrs,i.timeout),(d(e)||d(j))&&f.load(function(){k(),e&&e(i.origUrl,h,g),j&&j(i.origUrl,h,g),y[i.url]=2})))}function h(a,b){function c(a,c){if(a){if(e(a))c||(j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}),g(a,j,b,0,h);else if(Object(a)===a)for(n in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(n)&&(!c&&!--m&&(d(j)?j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}:j[n]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}var h=!!a.test,i=a.load||a.both,j=a.callback||f,k=j,l=a.complete||f,m,n;c(h?a.yep:a.nope,!!i),i&&c(i)}var i,j,l=this.yepnope.loader;if(e(a))g(a,0,l,0);else if(w(a))for(i=0;i (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0];var j=d.createElement(s);var dl=l!='dataLayer'?'&l='+l:'';j.src='//www.googletagmanager.com/gtm.js?id='+i+dl;j.type='text/javascript';j.async=true;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-M677548'); Skip to main content Home About Submit ALERTS / RSS Search for this keyword Advanced Search New Results OSDR2.0 infers microenvironment-driven cell-state transitions and population dynamics from a single spatial biopsy Itay Ben Shalom , Jonathan Somer , Shoval Miyara , Avi Mayo , View ORCID Profile Shie Mannor , View ORCID Profile Uri Alon doi: https://doi.org/10.1101/2025.09.02.673328 Itay Ben Shalom 1 Department of Molecular Cell Biology, Weizmann Institute of Science , Rehovot, Israel Find this author on Google Scholar Find this author on PubMed Search for this author on this site Jonathan Somer 1 Department of Molecular Cell Biology, Weizmann Institute of Science , Rehovot, Israel 2 Department of Electrical and Computer Engineering, Technion - Israel Institute of Technology , Haifa, Israel Find this author on Google Scholar Find this author on PubMed Search for this author on this site Shoval Miyara 1 Department of Molecular Cell Biology, Weizmann Institute of Science , Rehovot, Israel Find this author on Google Scholar Find this author on PubMed Search for this author on this site Avi Mayo 1 Department of Molecular Cell Biology, Weizmann Institute of Science , Rehovot, Israel Find this author on Google Scholar Find this author on PubMed Search for this author on this site Shie Mannor 2 Department of Electrical and Computer Engineering, Technion - Israel Institute of Technology , Haifa, Israel Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Shie Mannor For correspondence: uri.alon{at}weizmann.ac.il shie{at}technion.ac.il Uri Alon 1 Department of Molecular Cell Biology, Weizmann Institute of Science , Rehovot, Israel Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Uri Alon For correspondence: uri.alon{at}weizmann.ac.il shie{at}technion.ac.il Abstract Full Text Info/History Metrics Preview PDF Abstract Cell populations in human tissues change over time by cell division, death and transitions between functional states. In the tumor microenvironment (TME), such dynamics are central to immune evasion, stromal remodeling and therapeutic response. However, it is difficult to measure such dynamics in vivo because usually only a single biopsy is available providing a static snapshot. To obtain cell population dynamics from a snapshot we previously developed One Shot Dynamic Reconstruction (OSDR1.0), an algorithm that reconstructs cell population dynamics over weeks to months from a spatial biopsy using cell-type information and a proliferation marker. OSDR1.0 however does not include transitions between cell states. Here we present OSDR2.0, an extension that incorporates transitions between cell states inferred from the local cellular neighborhood. The algorithm OSDR2.0 models the probability of a cell being in a given state (e.g., PD1 + vs. PD1 β T cell, or cancer-associated vs. resting fibroblast) as a function of its surrounding cell types. These state-transition rules are then integrated into simulations of population dynamics. After the cell population is advanced by a timestep, the cell states are adjusted according to the new neighborhoods, using the fact that cell state transitions, which take hours, are typically much more rapid than cell population changes on the scale of weeks, and can thus be considered at quasi-steady-state. Applying OSDR2.0 to spatial proteomics data from triple-negative breast cancer (TNBC), we find that cell state is strongly associated with local microenvironment composition. Incorporating state transitions significantly improves the ability to predict treatment response - OSDR2.0 accurately separates responders from nonresponders to chemotherapy and immunotherapy based on early post-treatment biopsies, outperforming OSDR1.0 that does not include cell state transitions. This work highlights the importance of cell state plasticity in shaping tumor response and opens a way to infer both population dynamics and cell state transitions from static clinical samples. Introduction Understanding how cells interact and change over time in human tissues is central to uncovering the principles of development, immunity, and disease progression ( Meizlish et al ., 2021 ; Inayatullah, Dwivedi and Tiwari, 2025 ; Zhang et al ., 2025 ). In cancer, dynamic interactions between tumor cells and their surrounding microenvironment, including immune and stromal cells, play a key role in shaping tumor evolution and treatment response ( Gascard and Tlsty, 2016 ; Binnewies et al ., 2018 ; Sahai et al ., 2020 ). These processes involve not only changes in the abundance of different cell types, but also rapid transitions between functional states within a given cell type, such as from resting to activated or exhausted phenotypes in T cells ( Giles et al ., 2022 ; Rudloff et al ., 2023 ), or from resting fibroblasts to cancer-associated fibroblasts (CAFs) ( Lavie et al ., 2022 ; Mellone et al ., 2022 ). Capturing these complex dynamics remains a major challenge, especially in human samples where time-resolved measurements are generally unavailable. We recently introduced One-Shot Dynamics Reconstruction (OSDR, which we call here OSDR1.0) ( Somer, Mannor and Alon, 2025 ), an algorithm that infers cell population dynamics from a single spatial biopsy by using cell-type annotations and proliferation markers to estimate division and removal rates as a function of local neighborhood composition. OSDR1.0 uncovered dynamic tissue circuits, such as bistable macrophage-fibroblast feedback and excitable T/B-cell interactions, and predicted treatment responses in breast cancer from early-treatment snapshots alone. However, OSDR1.0 treats each cell type as a homogeneous population and does not account for transitions between cell states. This neglects potentially important mechanisms in which cell states, such as Programmed Cell Death Protein 1 (PD1) expression in T cells, can shift rapidly and are crucial determinants of immune function and therapeutic efficacy ( Jerby-Arnon et al ., 2018 ; SchΓΌrch et al ., 2020 ; Giles et al ., 2023 ). Here we present OSDR2.0 , an extension of the OSDR framework that incorporates cell state dynamics into spatial modeling. OSDR2.0 learning the probability of a cell to be in a particular state (e.g., PD + vs. PD β T cells or CAF vs. resting fibroblast) given the composition of its cellular neighborhood. OSDR 2.0 leverages the fact that cell state transitions typically occur on a faster timescale than cell proliferation - cell state changes (such as T cell exhaustion and fibroblast activation) typically take on the order of hours to days ( Manella et al ., 2020 ; Kirschenbaum et al ., 2024 ), whereas significant changes in cell population take weeks even in rapidly growing cancers ( Kay et al ., 2019 ; Narayanan et al ., 2025 ). During dynamic simulations, the model first updates cell division and removal, and then adjusts the cell state according to the new neighborhoods. This enables OSDR 2.0 to infer not only the trajectories of cell-type population abundances over time, but also the evolving distributions of functionally distinct cell states within those populations. Here we demonstrate this on two cell states, and note that the same approach can be generalized to multiple cell states in the same cell type. Applying OSDR2.0 to spatial proteomics data from triple-negative breast cancer (TNBC) ( Wang et al ., 2023 ), we find that cell states are strongly correlated with local neighborhood composition. Including these state transitions markedly improves the modelβs ability to predict patientsβ response to therapy. In particular, OSDR2.0 separates responders from nonresponders to chemotherapy and immunotherapy with higher accuracy than models that consider cell types abundance alone. By integrating rapid intra-cell-type plasticity with long-timescale population dynamics, OSDR2.0 offers a nuanced and predictive view of tissue behavior from a single biopsy snapshot, with potential applications across diverse tissues and pathologies. Results OSDR2.0 estimates dynamics of cell states and populations based on a spatial snapshot We build on OSDR1.0 that estimates cell population dynamics over weeks from a tissue biopsy ( Somer, Mannor and Alon, 2025 ). The input data is a spatial proteomics snapshot that includes cell type identity and a cell division marker ( Fig 1a ). The OSDR1.0 algorithm learns the division and removal rates of a cell type, as a function of its neighborhood composition. Using the inferred division and removal rates, OSRD1.0 simulates cell division and removal of cells, updates cellular neighborhoods accordingly, and repeats. Download figure Open in new tab Figure 1. Overview of the OSDR2.0 approach to estimate cell state dynamics and population dynamics from a tissue biopsy. (A) OSDR2.0 uses as input a spatial omics dataset of cell positions, types and states, along with a division marker (e.g. Ki67). It learns division and state probabilities as a function of neighborhood composition to allow for phase portrait analysis and simulations of cell populations and states over weeks. (B) OSDR2.0 adds transitions between cell states to OSDR1.0. A cell type π i that has several states, π i ,1 , π i ,2 , β¦ denoted π i ,Ξ± . The rate of change of the cell state populations is given by division and removal and the balance of transitions between states. The model uses the fact that cell-state transitions are typically much faster than the division and removal processes. (C) A cellβs neighborhood is defined by the counts of cells of each type and state in a radius r around it, in this study r=80um. (D) OSDR2.0 estimates the probability of each cell type to be in each of its states as a function of the neighborhood composition. (E) OSDR2.0 simulates cell dynamics by starting with the initial condition of cells in space, simulating divisions and removal according to each cellβs neighborhood, and adjusting cell sets according to the new neighborhoods. This is repeated to form temporal trajectories. Figure adapted from Somer ( Somer, Mannor and Alon, 2025 ). Here we add to OSDR1.0 a method to compute cell states ( Fig 1b ). Cell states are functionally distinct, and are classically defined by the expression of marker genes and proteins, for example with T-cells one can define PD + and PD β T cells where the first cell state is known to exhibit impaired cytotoxic activity compared to the latter ( Ahmadzadeh et al ., 2009 ; BalanΓ§a et al ., 2021 ). The new algorithm, OSDR2.0, takes the neighborhood of each cell ( Fig 1c ) and its cell-state, and learns the probability that a cell type is in state Ξ± or state αΎ± as a function of the neighborhood composition of cell types (without cell states). OSDR2.0 learns the probability function by fitting a logistic regression model ( Fig 1d ). OSDR2.0 then uses the fact that cell state transitions are typically much faster than cell population changes due to proliferation and removal.Thus, OSDR2.0 starts with an initial cell spatial configuration, evaluates division and removal to update the cell types. It then uses separation of timescales, by adjusting cell states according to the new neighborhood compositions ( Fig 1e ). This enables OSDR2.0 to follow both cell population dynamics and cell state dynamics.The OSDR2.0 regression coefficients indicate which cell types in the neighborhood affect cell division and cell states, inhibiting or enhancing each state and at which relative strength. Cell state is strongly associated with neighborhood cell-type composition The OSDR2.0 method relies on the assumption that neighborhood composition is a strong correlate of cell state ( Keren et al ., 2018 ; Hickey et al ., 2022 ; Ding et al ., 2025 ; Somer, Mannor and Alon, 2025 ). To test this, we analyzed two breast cancer imaging mass cytometry (IMC) datasets ( Danenberg et al ., 2022 ; Wang et al ., 2023 ) which provide spatially resolved single-cell type, division marker and state markers. The datasets include major immune and stromal cell types, across multiple patient samples. We focused on two biologically relevant state transitions in the tumor microenvironment: (i) fibroblasts transitioning between a resting state and CAFs ( Fig. 2a,c ), and (ii) T cells transitioning between PD1β» and PD1βΊ states ( Fig. 2b,d ). These transitions are central to tumor progression: CAF activation is associated with extracellular matrix remodeling ( Barbazan et al ., 2023 ), immune suppression ( Tsoumakidou, 2023 ), and enhanced tumor invasiveness ( Caligiuri and Tuveson, 2023 ), and are considered a therapeutic target ( Cao et al ., 2025 ). PD1 expression on T cells reflects an exhausted phenotype that impairs anti-tumor immunity and serves as a target for immune checkpoint blockade therapies ( Ahmadzadeh et al ., 2009 ; BalanΓ§a et al ., 2021 ; Giles et al ., 2023 ). Download figure Open in new tab Figure 2. Cell state is strongly correlated to neighborhood composition. (A) Probability to be CAF versus fibroblast in data and OSDR2.0 prediction are highly correlated. The correlation between shuffled data and model prediction is poor. (B) Probability to be PD1 + T cell versus PD1 β T cell in data and OSDR2.0 predictions are highly correlated. The correlation between shuffled data (where PD1 + /PD1 β labels were randomly shuffled) and model prediction is poor. In A-B, each dot is a bin of 1000 cells and the p-value is computed for the model using likelihood ratio test using statmodels ( Seabold and Perktold, 2010 ). (C) Regression coefficients in OSDR2.0 model for the probability to be CAF versus fibroblast shows strong effects of cancer and fibroblast cells (all 95% confidence intervals do not include 0). (D) Regression coefficients for the probability to be PD1 + T cell versus PD1 β T cell show strong positive effects of cancer and macrophages and negative effects of T cells and fibroblasts. For both cell types, we computed the probability that a cell is in each state as a function of the neighborhood composition of cell types. We used logistic regression, with all cell types in the system (B cells, T cells, Endothelial cells, Macrophages, cancer cells). The probability of each state varies across the different neighborhoods in the spatial tumor samples by a factor of 3 for T cells and 2.5 for fibroblasts ( Fig 2a,b ). We find that the cell state strongly associates the neighborhood composition regression model (p<0.1). We conclude that the cell type composition of the neighborhood is a strong correlate of the cell state. Analyzing the regression coefficients allows us to estimate which cell types in the neighborhood contribute most strongly to the state probabilities. CAFs are favored in environments with T cells, endothelial cells and tumor cells (the latter are abundant-47% of the cells in the data- and have a large effect), Fig 2c ). PD1 positive T cells are favored over PD1 negative T cells in environments with macrophages and tumor cells ( Fig 2d ). OSDR2.0 separates responders and nonresponders to chemotherapy and immunotherapy in triple negative breast cancer We tested whether OSDR2.0 can discriminate between populations of responders and non responders to cancer therapy. We used the dataset from Wang et al ( Wang et al ., 2023 ) on the response of TNBC to two forms of treatment - chemotherapy and chemotherapy+immunotherapy (PD1 checkpoint inhibition). Each patient has three biopsies analyzed by IMC - before, three weeks after treatment, and 6 months after treatment ( Fig 4A ). This design provides a responder/non-responder status to each patient according to the post-treatment datapoint. We trained OSDR2.0 on the responder population and the nonresponder population using the biopsy samples three weeks after treatment, and simulated the dynamics till cancer reaches steady state (βΌ100 days). One consideration is which initial condition to use in the simulations. We find that initial conditions do not affect the results - e.g. using initial conditions from responders, non-responders, or both yielded the same conclusions. Thus the dynamic rules (learned from responders or non-responders) rather than the initial condition seem to be dominant. We studied OSDR2.0 with two types of cell state transition - transitions between PD 1 and PD1 T cells, or transitions between fibroblasts and CAFs defined by SMA, PDGFRB and Podoplanin (PDPN) as in ( Danenberg et al ., 2022 ) ( Lavie et al ., 2022 ; Cords et al ., 2023 ). The data size (number of cells per patient) did not allow modelling both transitions simultaneously (Methods). We simulated the models and tracked cancer cell numbers. We find that OSDR2.0 models trained on responders showed a reduction in cancer cells compared to the models trained on non-responders ( Fig 4B ). In response to immunotherapy (PD1 blockade+chemotherapy), OSDR2.0 shows higher peak levels of PD1+ T cells in responders than non-responders ( Fig 4C ). To test the ability of ODSR2.0 to detect responders and non-responders from the biopsy taken during early treatment, we trained the model 100 times using subsampling of patients with returns. OSDR2.0 separates responders and non responders well, according to the criterion of rising or falling of cancer cell counts ( Fig 4D ). Separation is good in both chemotherapy and immunotherapy+chemotherapy arms (AUC>=0.96, Fig 3A ). Download figure Open in new tab Figure 3. OSDR2.0 predicts responders to treatment from TNBC early-treatment biopsies. Receiver Operating Characteristic (ROC) curves (true-positive rate vs. false-positive rate) for discrimination between responders and non-responders; the diagonal is chance performance (AUC = 0.5) and AUC = 1.0 indicates perfect separation. (A) Model trained on PD1 transitions in T cells: chemotherapy only (left; AUC = 0.94) and chemotherapy + immunotherapy (right; AUC = 0.96). (B) Model trained on fibroblast to CAF (SMA, PDGFRB,PDPN) transitions: chemotherapy only (left; AUC = 0.80) and chemotherapy + immunotherapy (right; AUC = 0.99). We asked what features enable OSDR2.0 to separate responders and non-responders in the rule set that it learns. The main difference picked up by OSDR2.0 is that cancer cells with abundant T cells in their neighborhood have a lower division probability in responders. In chemotherapy, this effect was due primarily to PD1 T cells, as evidenced by very low proliferation of cancer cells in the 10% environments most enriched with PD + T cells ( Fig 4E ). Download figure Open in new tab Figure 4. OSDR2.0 identifies responders to immunotherapy and chemotherapy in triple negative breast cancer. (A) The Wang et al dataset ( Wang et al., 2023 ) has three longitudinal biopsies per triple negative breast cancer (TNBC) patient (π = 618). (B) OSDR2.0 with transitions between PD1+ T cells and PD1-T cells was applied to early-treatment 3w biopsies to learn cell-cell interaction dynamics for the responder and non responder participants (according to βΌ24w biopsy). Simulations initialized with early-treatment conditions (π‘ = 0) revealed divergent growth trajectories for responders and non-responders. (C) In responders OSDR2.0 shows higher peak levels of PD1+ T cells than in non-responders. (D) OSDR2.0 trained on responders shows fewer cancer cells at the end of the simulation than OSDR2.0 trained on non-responders under both chemotherapy (left) and combined chemo-immunotherapy (right) arms. (E) In PD + T-cell enriched neighborhoods, cancer cell division (Ki67 positivity) was lower in responders compared to non-responders across both treatment arms. Error bars are 95% confidence intervals. *π < 0. 05, ** β5 , *** β10 . We also simulated OSDR2.0 with transitions between fibroblasts and CAFs ( Fig 5 ). We again find that OSDR2.0 trained on responders shows a drop in cancer count over months, whereas training on non responders leads to rising cancer counts ( Fig 5A ). The CAF population shows a transient rise in CAFs that drops when the cancer count drops. In contrast non responders show a persistent CAF population ( Fig 5A ). The algorithm separates responders and non responders well ( Fig 4D , 5B) especially in the chemotherapy+immunotherapy arm ( Fig 3 ). We find that responders differ from non-responders in the proliferation of T cells - responders had higher T cell proliferation in CAF-rich neighborhoods than non responders ( Fig 5C ). Download figure Open in new tab Figure 5. OSDR2.0 with fibroblast to CAF transitions identifies responders to immunotherapy and chemotherapy in triple negative breast cancer. (A) OSDR2.0 trained on responders showed a drop in cancer cells and a transient peak of CAFs, whereas OSDR2.0 trained on non-responders showed a rise in cancer and persistent CAFs. (B) OSDR2.0 trained on responders shows fewer cancer cells at the end of the simulation than OSDR2.0 trained on non responders. (C) In CAF-enriched neighborhoods, responders to Immunotherapy + Chemotherapy showed higher T-cell division under the combination treatment arm, suggesting a pro-immunogenic remodeling of the tumor microenvironment. Error bars are 95% confidence intervals. *π < 0. 05. Simulations also include the immune cell types in the dataset (T cells, B cells and macrophages). Discussion We developed OSDR2.0, a spatial modeling framework that extends OSDR1.0 by incorporating transitions between cell states within each cell type, based on local neighborhood composition. OSDR1.0 predicts cell population dynamics over weeks from a biopsy by learning division rates from neighborhood composition; OSDR2.0 adds to this prediction of cell states within a cell type. Using this approach, we demonstrate that cell states, such as CAF versus fibroblast and PD + versus PD β T cells are strongly associated with the composition of surrounding cell types in breast cancer biopsies. The model accurately captures these associations using logistic regression and simulates dynamic changes in both cell populations and cell states over time. Applied to data from triple-negative breast cancer (TNBC) patients undergoing chemotherapy or chemo-immunotherapy, OSDR2.0 simulations trained on responders show reduction in cancer cells over weeks, whereas OSDR2.0 trained on non responders show cancer persistances. These results suggest that a single tissue snapshot can provide dynamic information on cell populations and cell states over weeks. OSDR2.0 generates a mathematical model for the effect of neighborhoods on cell division and state. This model can be used to detect which cell states in the neighborhood are most important for supporting cancer. In TNBC, the model suggests that the effect of PD1 + T cells on cancer cell division is key to response in both chemotherapy and immunotherapy. In both treatments, responders differed from nonresponders (at the 3 week treatment timepoint) by having slower cancer divisions in neighborhoods with high PD1 + T cells. In order to employ OSDR2.0, one requires more cells per patient than for OSRD1.0, because OSRD2.0 has more parameters to describe cell states. The number of parameters rises quadratically with the number of cell types and states. Here we pooled responders and non responders to reach sufficient numbers of cells. We anticipate that emerging spatial technologies will provide a sufficient number of cells to allow analysis of individual patients. We estimate that on the order of 10,000 cells per cell type are needed depending on the probability of cell division and the frequency of each cell state. One limitation is that OSDR2.0 does not account for migration of cells. Many cell types do not migrate appreciably over weeks ( Fan and Rudensky, 2016 ; Houthuijzen et al ., 2023 ; Suchanek et al ., 2023 ). Others may be expected to migrate (such as immune cells) ( Luster, Alon and von Andrian, 2005 ; Du et al ., 2022 ). Since immune migration often involves vasculature ( Xu et al ., 2024 ), we expect that high migration would lead to positive coefficients for endothelial cells in the neighborhood of immune cells. Interestingly, we do not find strong positive coefficients for endothelial cells. We thus tentatively conclude that the TME we study here does not involve extensive migration of T cells, monocytes and other immune cells (developed TNBC). Future work can address migration, for example by utilizing markers for cell motility or chemotaxis. In summary, OSDR2.0 offers a framework for inferring population dynamics and cell state transitions from a spatial snapshot of human tissue. By leveraging the strong association between cell state and neighborhood composition, the model provides a dynamic view of tissue organization and plasticity that was previously inaccessible from static data. Its ability to accurately separate responders from nonresponders in TNBC, based on simulations trained only on early post-treatment biopsies, highlights its potential as a predictive tool for treatment outcomes. Beyond oncology, OSDR2.0 can be applied broadly to spatial omics data across tissues and diseases, opening avenues for understanding microenvironmental control of cell states and guiding precision medicine. Methods The number of cells of a given type in a tissue region can change due to cell division, cell death, migration (flux) or transdifferentiation into other cell types ( Weinreb et al ., 2018 ). In OSDR1.0 ( Somer, Mannor and Alon, 2025 ), we focused on modeling cell-types which do not transdifferentiate at appreciable rates and analyzed tissues in which flux is negligible compared to rates of death or division (or alternatively, where flux terms can be added post-hoc). Under these assumptions, the population dynamics of cells of type π are described by: In OSDR2.0, we extend this model to include transitions between cell states within a cell type (e.g. fibroblast to CAF, PD1 β to PD1 + T cell). Letting π i denote a specific cell type and π i ,Ξ± its subpopulation in state Ξ±, we update the equation to include transitions between these internal states: To handle the difference in timescales between slow processes (division and death; timescale T, on the order of weeks) and fast state transitions (timescale t, on the order of hours), we rewrite the above in terms of these separated scales: Because state transitions typically occur much faster than the cell division or death, we assume a quasi-steady state for the fast dynamics. From the perspective of the slow dynamic timescale T, this implies: That is, at each time T, the distribution of cell states rapidly equilibrates to a steady-state that is determined by the local microenvironment. A cell typeβs rates of division, death, and state transitions are influenced by a range of local factors including, intercellular signaling, access to nutrients, genetics, and direct contact with neighboring cells. We collectively refer to this context as the cellβs neighborhood, and the set of features used to approximate it is denoted π(π₯) for a cell π₯. Under the quasi-steady state assumption, and given a spatial snapshot of the tissue, we can learn the probability that a cell is in a given state Ξ±, denoted π Ξ± (π(π₯)) directly from its neighborhood: In OSDR2.0, this probability is modeled using logistic regression based on the composition of cell-types and states as π(π₯), the set of features used to approximate the neighborhood of a cell, as detailed in the following sections. OSDR1.0 estimates the expected change (πππ£ππ πππ β ππππ‘β) rate of a cell based on its neighborhood, πΌ[π₯Μ | π(π₯)], without accounting for cell state heterogeneity. In contrast, OSDR2.0 models the probability of a cell being in a specific state Ξ±, π Ξ± (π(π₯)), which allows to decompose the expected rate of change (π₯Μ) as: More generally, if π t [ x ] denotes the set of all possible cell states for the cell type π‘[π₯] of a cell π₯, we can write: This formulation shows that OSDR2.0 extends OSDR1.0 by explicitly modeling cell state distributions, enabling more accurate estimation of functional behaviors of cell states. To implement OSDR2.0, we first stratify each cell type into its defined states (e.g., PD1 + and PD1 β T cells), and then apply OSDR1.0 independently to each state as if it were a separate cell type. This yields division and removal dynamics for each state-conditioned subpopulation. We then rebalance these dynamics at each simulation step according to the OSDR2.0-estimated state probabilities from the current neighborhood, ensuring that state transitions remain in quasi-equilibrium. This separation enables OSDR2.0 to simulate realistic state-dependent population dynamics from static tissue data. Like OSDR1.0, OSDR2.0 is agnostic to the choice of inference model: while we use logistic regression in this work, other statistical or machine learning models can be integrated within the framework. Moreover, the approach is compatible with any spatial proteomics technology that enables accurate classification and localization of individual cells, along with robust measurement of markers for division and cell states. Model Inference Algorithm The following algorithm estimates π Ξ± , the probability that a cell is in a particular state Ξ± Input: A set of tissues represented as the ordered set (π΅, π, π, π, π), a set of cell IDs {1, Β·Β·Β·, π} and a neighborhood radius π : β π΅ - a set of tissues, each containing a subset of cell IDs. β π - a mapping from a cell π₯ to its cell type π[π₯], for simplicity we also denote by π the set of all cell types.. β π - a mapping from a cell π₯ to its spatial coordinates in the tissue π[π₯]. β π - a mapping from each cell type π‘β β π to its possible set of cell states, for + β {ππ·1 + πππππ, ππ·1 β πππππ} π‘β = πππππ. In this algorithm we assume |π[π‘β]| = 2 ππ |π[π‘β]| = 1 for simplicity, where if |π[π‘β]| = 2 then π[π‘β] = {Ξ±, αΎ± } and if |π[π‘β]| = 1 then the cell has only one cell state. β π - a mapping from a cell π₯ to its observed cell-state π[π₯] β {0, 1} indicating whether π₯ is in cell state Ξ± or not. Algorithm: For each tissue π΅ i β π΅ do 1.1. For each π₯ β π΅ i do 1.1.1. If Ξ± β π[π[π₯]] skip π₯ 1.1.2. For each cell type π‘β β π do 1.1.2.1. Compute the number of neighboring cells of π₯ of type tβ Apply feature transformation to π(π₯) such as adding polynomial features and interaction terms, yielding the transformed feature vector π(π₯). Use the transformed features π(π₯) and π(π₯) = π(π₯) as labels to fit a multivariate logistic regression model (or any other suitable model), denote it p Ξ± Output: Return the fitted model π Ξ± . Model Simulation Procedure Let denote the division and death probabilities for all cell types π‘ in all states π , obtained by applying OSDR1.0 model inference while treating each cell state as a distinct cell type. In OSDR1.0, simulation can be ran by iteratively applying division and death probabilities for each cell π₯ according to its type π[π₯] and neighborhood π(π₯), i.e., using π + T [ x ] (π(π₯)), π β T [ x ] (π(π₯)), In OSDR2.0 we also have cell state so we will use π + T [ x ] S [ x ] (π(π₯)), π β T [ x ], S [ x ] (π(π₯)) instead. In OSDR2.0, an additional rebalancing step is required: after simulating division and removal, the distribution of cell states must be adjusted according to the predicted state probabilities π Ξ± from the OSDR2.0 model inference process. To make this process interpretable and consistent, we simulate dynamics on a phase portrait where the axes represent the number of cells in each state-specific subtype ( Figure 1 ). After each application of the OSDR1.0-based dynamics, the population is rebalanced so that, for each cell type, the proportion of cells in each state aligns with the predicted probabilities using the model π Ξ± . This ensures that the cell state distribution remains consistent with the inferred steady-state dynamics. Data Analysis We used the datasets from Wang et al ( Wang et al ., 2023 ) and Danenberg et al ( Danenberg et al ., 2022 ), we used their cellular typing, definitions, reducing them to more general cell types, and added cell-states per analysis. The cell types used were: Fibroblasts, T-cells, B-cells, Macrophages, Cancer cells and Endothelial cells. The phenotypes used in the analyses were PD + versus PD β T-cells and CAFs versus non CAF Fibroblasts. References 1. β΅ Ahmadzadeh , M. et al. ( 2009 ) β Tumor antigenβspecific CD8 T cells infiltrating the tumor express high levels of PD-1 and are functionally impaired β, Blood , 114 ( 8 ), pp. 1537 β 1544 . Available at : doi: 10.1182/blood-2008-12-195792 . OpenUrl Abstract / FREE Full Text 2. β΅ BalanΓ§a , C.-C. et al. ( 2021 ) β PD-1 blockade restores helper activity of tumor-infiltrating, exhausted PD-1 hi CD39 + CD4 T cells β, JCI Insight , 6 ( 2 ). Available at : doi: 10.1172/jci.insight.142513 . OpenUrl CrossRef 3. β΅ Barbazan , J. et al. ( 2023 ) β Cancer-associated fibroblasts actively compress cancer cells and modulate mechanotransduction β, Nature Communications , 14 ( 1 ), p. 6966 . Available at : doi: 10.1038/s41467-023-42382-4 . OpenUrl CrossRef PubMed 4. β΅ Binnewies , M. et al. ( 2018 ) β Understanding the tumor immune microenvironment (TIME) for effective therapy β, Nature Medicine , 24 ( 5 ), pp. 541 β 550 . Available at : doi: 10.1038/s41591-018-0014-x . OpenUrl CrossRef PubMed 5. β΅ Caligiuri , G. and Tuveson , D.A . ( 2023 ) β Activated fibroblasts in cancer: Perspectives and challenges β, Cancer Cell , 41 ( 3 ), pp. 434 β 449 . Available at : doi: 10.1016/j.ccell.2023.02.015 . OpenUrl CrossRef PubMed 6. β΅ Cao , Z. et al. ( 2025 ) β Cancer-associated fibroblasts as therapeutic targets for cancer: advances, challenges, and future prospects β, Journal of Biomedical Science , 32 ( 1 ), p. 7 . Available at : doi: 10.1186/s12929-024-01099-2 . OpenUrl CrossRef PubMed 7. β΅ Cords , L. et al. ( 2023 ) β Cancer-associated fibroblast classification in single-cell and spatial proteomics data β, Nature Communications , 14 ( 1 ), p. 4294 . Available at : doi: 10.1038/s41467-023-39762-1 . OpenUrl CrossRef PubMed 8. β΅ Danenberg , E. et al. ( 2022 ) β Breast tumor microenvironment structures are associated with genomic features and clinical outcome β, Nature Genetics , 54 ( 5 ), pp. 660 β 669 . Available at : doi: 10.1038/s41588-022-01041-y . OpenUrl CrossRef PubMed 9. β΅ Ding , D.Y. et al. ( 2025 ) β Quantitative characterization of tissue states using multiomics and ecological spatial analysis β, Nature Genetics , 57 ( 4 ), pp. 910 β 921 . Available at : doi: 10.1038/s41588-025-02119-z . OpenUrl CrossRef PubMed 10. β΅ Du , W. et al. ( 2022 ) β Cell Trafficking at the Intersection of the TumorβImmune Compartments β, Annual review of biomedical engineering , 24 , pp. 275 β 305 . Available at : doi: 10.1146/annurev-bioeng-110320-110749 . OpenUrl CrossRef 11. β΅ Fan , X. and Rudensky , A.Y . ( 2016 ) β Hallmarks of Tissue-Resident Lymphocytes β, Cell , 164 ( 6 ), pp. 1198 β 1211 . Available at : doi: 10.1016/j.cell.2016.02.048 . OpenUrl CrossRef PubMed 12. β΅ Gascard , P. and Tlsty , T.D . ( 2016 ) β Carcinoma-associated fibroblasts: orchestrating the composition of malignancy β, Genes & Development , 30 ( 9 ), pp. 1002 β 1019 . Available at : doi: 10.1101/gad.279737.116 . OpenUrl Abstract / FREE Full Text 13. β΅ Giles , J.R. et al. ( 2022 ) β Shared and distinct biological circuits in effector, memory and exhausted CD8+ T cells revealed by temporal single-cell transcriptomics and epigenetics β, Nature immunology , 23 ( 11 ), pp. 1600 β 1613 . Available at : doi: 10.1038/s41590-022-01338-4 . OpenUrl CrossRef PubMed 14. β΅ Giles , J.R. et al. ( 2023 ) β CD8+ T cells in the cancer-immunity cycle β, Immunity , 56 ( 10 ), pp. 2231 β 2253 . Available at : doi: 10.1016/j.immuni.2023.09.005 . OpenUrl CrossRef PubMed 15. β΅ Hickey , J.W. et al. ( 2022 ) β Spatial mapping of protein composition and tissue organization: a primer for multiplexed antibody-based imaging β, Nature Methods , 19 ( 3 ), pp. 284 β 295 . Available at : doi: 10.1038/s41592-021-01316-y . OpenUrl CrossRef 16. β΅ Houthuijzen , J.M. et al. ( 2023 ) β CD26-negative and CD26-positive tissue-resident fibroblasts contribute to functionally distinct CAF subpopulations in breast cancer β, Nature Communications , 14 ( 1 ), p. 183 . Available at : doi: 10.1038/s41467-023-35793-w . OpenUrl CrossRef PubMed 17. β΅ Inayatullah , M. , Dwivedi , A.K. and Tiwari , V.K . ( 2025 ) β Advances in single-cell omics: Transformative applications in basic and clinical research β, Current Opinion in Cell Biology , 95 , p. 102548 . Available at : doi: 10.1016/j.ceb.2025.102548 . OpenUrl CrossRef PubMed 18. β΅ Jerby-Arnon , L. et al. ( 2018 ) β A Cancer Cell Program Promotes T Cell Exclusion and Resistance to Checkpoint Blockade β, Cell , 175 ( 4 ), pp. 984 β 997 .e24. Available at : doi: 10.1016/j.cell.2018.09.006 . OpenUrl CrossRef PubMed 19. β΅ Kay , K. et al. ( 2019 ) β Estimation of Solid Tumor Doubling Times from Progression-Free Survival Plots Using a Novel Statistical Approach β, The AAPS journal , 21 ( 2 ), p. 27 . Available at : doi: 10.1208/s12248-019-0302-5 . OpenUrl CrossRef PubMed 20. β΅ Keren , L. et al. ( 2018 ) β A Structured Tumor-Immune Microenvironment in Triple Negative Breast Cancer Revealed by Multiplexed Ion Beam Imaging β, Cell , 174 ( 6 ), pp. 1373 β 1387 .e19. Available at : doi: 10.1016/j.cell.2018.08.039 . OpenUrl CrossRef PubMed 21. β΅ Kirschenbaum , D. et al. ( 2024 ) β Time-resolved single-cell transcriptomics defines immune trajectories in glioblastoma β, Cell , 187 ( 1 ), pp. 149 β 165 .e23. Available at : doi: 10.1016/j.cell.2023.11.032 . OpenUrl CrossRef 22. β΅ Lavie , D. et al. ( 2022 ) β Cancer-associated fibroblasts in the single-cell era β, Nature Cancer , 3 ( 7 ), pp. 793 β 807 . Available at : doi: 10.1038/s43018-022-00411-z . OpenUrl CrossRef PubMed 23. β΅ Luster , A.D. , Alon , R. and von Andrian , U.H. ( 2005 ) β Immune cell migration in inflammation: present and future therapeutic targets β, Nature Immunology , 6 ( 12 ), pp. 1182 β 1190 . Available at : doi: 10.1038/ni1275 . OpenUrl CrossRef PubMed Web of Science 24. β΅ Manella , G. et al. ( 2020 ) β Hypoxia induces a time- and tissue-specific response that elicits intertissue circadian clock misalignment β, Proceedings of the National Academy of Sciences of the United States of America , 117 ( 1 ), pp. 779 β 786 . Available at : doi: 10.1073/pnas.1914112117 . OpenUrl Abstract / FREE Full Text 25. β΅ Meizlish , M.L. et al. ( 2021 ) β Tissue Homeostasis and Inflammation β, Annual Review of Immunology , 39 (Volume 39, 2021), pp. 557β581. Available at : doi: 10.1146/annurev-immunol-061020-053734 . OpenUrl CrossRef PubMed 26. β΅ Mellone , M. et al. ( 2022 ) β ATM Regulates Differentiation of Myofibroblastic Cancer-Associated Fibroblasts and Can Be Targeted to Overcome Immunotherapy Resistance β, Cancer Research , 82 ( 24 ), pp. 4571 β 4585 . Available at : doi: 10.1158/0008-5472.CAN-22-0435 . OpenUrl CrossRef PubMed 27. β΅ Narayanan , B. et al. ( 2025 ) β Growth kinetics of high-grade serous ovarian cancer: implications for early detection β, British Journal of Cancer , pp. 1 β 6 . Available at : doi: 10.1038/s41416-025-03082-6 . OpenUrl CrossRef 28. β΅ Rudloff , M.W. et al. ( 2023 ) β Hallmarks of CD8+ T cell dysfunction are established within hours of tumor antigen encounter before cell division β, Nature Immunology , 24 ( 9 ), pp. 1527 β 1539 . Available at : doi: 10.1038/s41590-023-01578-y . OpenUrl CrossRef PubMed 29. β΅ Sahai , E. et al. ( 2020 ) β A framework for advancing our understanding of cancer-associated fibroblasts β, Nature Reviews. Cancer , 20 ( 3 ), pp. 174 β 186 . Available at : doi: 10.1038/s41568-019-0238-1 . OpenUrl CrossRef PubMed 30. β΅ SchΓΌrch , C.M. et al. ( 2020 ) β Coordinated Cellular Neighborhoods Orchestrate Antitumoral Immunity at the Colorectal Cancer Invasive Front β, Cell , 182 ( 5 ), pp. 1341 β 1359 .e19. Available at : doi: 10.1016/j.cell.2020.07.005 . OpenUrl CrossRef PubMed 31. β΅ Seabold , S. and Perktold , J . ( 2010 ) βStatsmodels: Econometric and Statistical Modeling with Pythonβ, in. Python in Science Conference , Austin , Texas , pp. 92 β 96 . Available at : doi: 10.25080/Majora-92bf1922-011 . OpenUrl CrossRef 32. β΅ Somer , J. , Mannor , S. and Alon , U . ( 2025 ) β Temporal tissue dynamics from a spatial snapshot β. bioRxiv , p. 2024 . 04 .22.590503. Available at : doi: 10.1101/2024.04.22.590503 . OpenUrl Abstract / FREE Full Text 33. β΅ Suchanek , O. et al. ( 2023 ) β Tissue-resident B cells orchestrate macrophage polarisation and function β, Nature Communications , 14 ( 1 ), p. 7081 . Available at : doi: 10.1038/s41467-023-42625-4 . OpenUrl CrossRef PubMed 34. β΅ Tsoumakidou , M . ( 2023 ) β The advent of immune stimulating CAFs in cancer β, Nature Reviews Cancer , 23 ( 4 ), pp. 258 β 269 . Available at : doi: 10.1038/s41568-023-00549-7 . OpenUrl CrossRef PubMed 35. β΅ Wang , X.Q. et al. ( 2023 ) β Spatial predictors of immunotherapy response in triple-negative breast cancer β, Nature , 621 ( 7980 ), pp. 868 β 876 . Available at : doi: 10.1038/s41586-023-06498-3 . OpenUrl CrossRef PubMed 36. β΅ Weinreb , C. et al. ( 2018 ) β Fundamental limits on dynamic inference from single-cell snapshots β, Proceedings of the National Academy of Sciences , 115 ( 10 ), pp. E2467 β E2476 . Available at : doi: 10.1073/pnas.1714723115 . OpenUrl Abstract / FREE Full Text 37. β΅ Xu , Y. et al. ( 2024 ) β Signaling crosstalk between tumor endothelial cells and immune cells in the microenvironment of solid tumors β, Frontiers in Cell and Developmental Biology , 12 , p. 1387198 . Available at : doi: 10.3389/fcell.2024.1387198 . OpenUrl CrossRef PubMed 38. β΅ Zhang , C. et al. ( 2025 ) β Application of spatial and single-cell omics in tumor immunotherapy biomarkers β, LabMed Discovery , 2 ( 2 ), p. 100076 . Available at : doi: 10.1016/j.lmd.2025.100076 . OpenUrl CrossRef View the discussion thread. Back to top Previous Next Posted September 05, 2025. Download PDF Email Thank you for your interest in spreading the word about bioRxiv. NOTE: Your email address is requested solely to identify you as the sender of this article. Your Email * Your Name * Send To * Enter multiple addresses on separate lines or separate them with commas. You are going to email the following OSDR2.0 infers microenvironment-driven cell-state transitions and population dynamics from a single spatial biopsy Message Subject (Your Name) has forwarded a page to you from bioRxiv Message Body (Your Name) thought you would like to see this page from the bioRxiv website. Your Personal Message CAPTCHA This question is for testing whether or not you are a human visitor and to prevent automated spam submissions. Share OSDR2.0 infers microenvironment-driven cell-state transitions and population dynamics from a single spatial biopsy Itay Ben Shalom , Jonathan Somer , Shoval Miyara , Avi Mayo , Shie Mannor , Uri Alon bioRxiv 2025.09.02.673328; doi: https://doi.org/10.1101/2025.09.02.673328 Share This Article: Copy Citation Tools OSDR2.0 infers microenvironment-driven cell-state transitions and population dynamics from a single spatial biopsy Itay Ben Shalom , Jonathan Somer , Shoval Miyara , Avi Mayo , Shie Mannor , Uri Alon bioRxiv 2025.09.02.673328; doi: https://doi.org/10.1101/2025.09.02.673328 Citation Manager Formats BibTeX Bookends EasyBib EndNote (tagged) EndNote 8 (xml) Medlars Mendeley Papers RefWorks Tagged Ref Manager RIS Zotero Tweet Widget Facebook Like Google Plus One Subject Area Cancer Biology Subject Areas All Articles Animal Behavior and Cognition (7618) Biochemistry (17633) Bioengineering (13856) Bioinformatics (41841) Biophysics (21399) Cancer Biology (18529) Cell Biology (25422) Clinical Trials (138) Developmental Biology (13352) Ecology (19860) Epidemiology (2067) Evolutionary Biology (24282) Genetics (15582) Genomics (22462) Immunology (17700) Microbiology (40295) Molecular Biology (17140) Neuroscience (88419) Paleontology (666) Pathology (2823) Pharmacology and Toxicology (4813) Physiology (7632) Plant Biology (15107) Scientific Communication and Education (2042) Synthetic Biology (4284) Systems Biology (9808) Zoology (2267)
Text is read by the "Ask this paper" AI Q&A widget below.
Extraction quality varies by source β PMC NXML preserves structure
cleanly, OA-HTML may include some navigation residue, and OA-PDF can
have broken hyphenation. The publisher copy
(via DOI)
is the canonical version.