Skip to main content
PLOS Computational Biology logoLink to PLOS Computational Biology
. 2020 Dec 23;16(12):e1008519. doi: 10.1371/journal.pcbi.1008519

Multi-scale modeling of macrophage—T cell interactions within the tumor microenvironment

Colin G Cess 1, Stacey D Finley 1,2,3,*
Editor: Kathryn Miller-Jensen4
PMCID: PMC7790427  PMID: 33362239

Abstract

Within the tumor microenvironment, macrophages exist in an immunosuppressive state, preventing T cells from eliminating the tumor. Due to this, research is focusing on immunotherapies that specifically target macrophages in order to reduce their immunosuppressive capabilities and promote T cell function. In this study, we develop an agent-based model consisting of the interactions between macrophages, T cells, and tumor cells to determine how the immune response changes due to three macrophage-based immunotherapeutic strategies: macrophage depletion, recruitment inhibition, and macrophage reeducation. We find that reeducation, which converts the macrophages into an immune-promoting phenotype, is the most effective strategy and that the macrophage recruitment rate and tumor proliferation rate (tumor-specific properties) have large impacts on therapy efficacy. We also employ a novel method of using a neural network to reduce the computational complexity of an intracellular signaling mechanistic model.

Author summary

We present a multi-scale agent-based model of macrophages and T cells within the tumor microenvironment. To increase the biological detail, we include an intracellular mechanistic model in the macrophages, employing a method of using neural networks to reduce the mechanistic model into a simple input/output model. With the mechanistic model, we are able to predict the effects of specifically inhibiting a part of the intracellular signaling pathway, as opposed to just making phenotypic predictions. Using the integrated modeling framework, we are able to predict the impacts of immunosuppressive macrophages on T cell function and predict how macrophage-based immunotherapies can reduce immunosuppression. Altogether, we present a useful framework for studying cell-cell interactions in the tumor microenvironment and the effects of immune cell-targeting therapies.

Introduction

A key feature of the tumor microenvironment (TME) is that the normal immune response, which should be able to target and kill malignant cells, is dysfunctional [1,2]. Specifically, some immune cells are suppressed and unable to carry out their functions, while other immune cells are corrupted into a pro-tumor state and actively work to increase tumor growth. The dysfunctional immune response is a common feature across tumor types, and it is thought that tumors develop only after evading the immune system [3]. Recently, immunotherapies have been developed in attempts to reactivate the immune system so that it can carry out its normal function and remove the tumor [46]. Although the efficacy of immunotherapy has increased in recent years, the use of immunotherapeutic strategies to treat solid tumors has been largely unsuccessful [79]. Therefore, further examination of the immune suppressing mechanisms within the TME is needed in order to develop more effective immunotherapies.

One of the most common, and most influential, types of immune cell in the TME is the tumor-associated macrophage (TAM) [10,11]. Macrophages have various roles within the normal immune response, having cytotoxic capability and the ability to present antigens to T cells [10]. Depending on environmental signals, macrophages can display a variety of phenotypes, ranging from pro-inflammatory and immune-supporting to immunosuppressive with wound-healing properties. While macrophage phenotype exists on a spectrum [12], for conceptual purposes it is divided into two main states: M1 (immune-promoting) and M2 (immunosuppressive). Due to influence from the tumor, most TAMs are in an M2-like state and further promote tumor growth. TAMs are able to promote tumor cell proliferation, induce angiogenesis, enable tumor cell migration and metastasis, and suppress the function of anti-tumor immune cells [10,11,13,14]. Due to their important roles in tumor growth, TAMs have become the subject of various immunotherapies [9,15,16]. These treatment strategies aim to either reduce the number of TAMs within the TME, which would limit their suppression of T cells, or convert TAMs into an M1-like state, which would enhance T cell function.

T cells are considered to be the main portion of the adaptive immune system for eliminating tumors, being able to detect tumor-associated antigens and then kill tumor cells [1719]. It is hypothesized that most tumors are eliminated by T cells early on and that only a small number of tumors manage to escape and go on to have clinical significance [3]. As tumors grow further, T cell function is suppressed, diminishing the immune response [1720]. Cytotoxic T cells (CTLs) can become exhausted, having limited proliferative and cytotoxic function, due to excessive stimulation and the expression of checkpoint proteins such as CTLA-4 and PD-L1 on M2 macrophages and tumor cells [21]. The tumor also increases the excretion of chemokines that attract regulatory T cells (Tregs) and cytokines from that promote the conversion of T helper (Th) cells into Tregs, which assist in suppressing CTL function [22]. M2 macrophages can also produce these Treg-promoting cytokines.

Various immunotherapies have been developed to reactivate the immune system and promote tumor removal. Checkpoint inhibition aims to block ligands such as CTLA-4 and PD-L1 on tumors and M2 macrophages [47,20]. Blocking these ligands has been shown to increase T cell expansion at the tumor site and promote the killing of tumor cells, though it is unclear whether this is due to the restoration of the functions of T cells already at the tumor site or due to the infiltration of new T cells, as evidence has been found for both [20,23]. Another method of immunotherapy is adoptive T cell therapy, in which T cells are removed from the patient, expanded ex vivo, and then given back to the patient in an attempt to boost the immune response [5,6,24]. Sometimes the T cells are modified in order to better detect tumor cells, as is the case with chimeric antigen receptor (CAR)-engineered T cells. While immunotherapy is successful in some cases, particularly in hematological malignancies, it often fails in solid tumors. This lack of success indicates that there is a complex interplay within the cells residing in the TME that prevents immune function.

Many computational models have been developed to better understand interactions between tumor and immune cells. We recently reviewed mathematical models of tumor-immune interactions across various scales [25]. These models aim to both examine general tumor-immune behavior and to test the effects of immunotherapy. Significant modeling efforts have focused on T cell-mediated killing. For example, Gong et al. developed a model of how PD-L1 expression impacts T cell response [26]. They also examined how tumor mutational burden and antigen strength, which impact the strength of the T cell response, influence tumor growth. Kather et al. examined T cell response in relation to tumor stroma, which physically inhibits both immune cell infiltration and tumor growth [27]. They determined that a high level of stroma slows tumor growth when the number of T cells is low but prevents immune cell-mediated elimination of the tumor when there is a high number of T cells. Therefore, combining therapies that increase T cell count with therapies that reduce tumor stroma could increase T cell infiltration and tumor removal. Other studies have focused on lymph node dynamics and the effects of tumor proliferation, antigenicity, and T cell recruitment on tumor removal [28].

Mathematical modeling has also been applied to study the role of macrophages in tumor elimination. Some of these models have focused on the interplay between M1 and M2 macrophages at the early stages of tumor growth. Both Wells et al.[29] and Malbacher et al.[30] developed models where macrophages can differentiate into either an M1 or an M2 phenotype based on factors secreted by the growing tumor. These macrophages then either inhibit or promote tumor growth, depending on their phenotype. El-kenawi et al. focused on the effects of tumor-induced acidity on macrophage differentiation, allowing macrophages to differentiate on a spectrum as opposed to discrete phenotypes, to more accurately represent macrophage state [31]. Other models have focused on interactions between macrophages and tumors cells that lead to increased tumor migration and metastatic potential due to paracrine signaling loops between the two cell types [3234].

While there are examples of mathematical models that consider multiple types of immune cells in the local tissue microenvironment [35], most models do not consider multiple types of immune cells in the TME. However, it is important to account for the various immune cell populations since immune cells interact with each other directly and via diffusible signaling factors. Therefore, in this study, we focus on the interactions between macrophages and T cells. Using an agent-based model (ABM), we examine the growth of a micrometastasis and how macrophage differentiation affects the ability of the T cells to eliminate the tumor. We also model the effects of three macrophage-based immunotherapies (macrophage depletion, recruitment inhibition, and macrophage reeducation) and investigate how differing rates of tumor proliferation and macrophage recruitment affect the efficacy of each treatment. To model macrophage differentiation, we employ a mechanistic intracellular signaling model within the macrophages. In order to improve computational time, we use a neural network to predict the mechanistic model outputs based on signaling inputs from the TME. We find that macrophage reeducation is the most powerful of the three immunotherapies simulated due to the promotion of T cell function, and that tumor proliferation rate and macrophage recruitment rate can have large impacts on the efficacy of therapy.

Results

Model construction

As explained in detail in the methods section, we have constructed a multi-scale agent-based model of the interactions between macrophages, T cells, and tumor cells, along with the cytokines IL-4 and IFN-γ. The model represents a 2D tissue slice, and cells are constrained to a lattice, with one cell per lattice site. Briefly, macrophages are initially present within the tissue and more are recruited to the tumor site as simulation progresses. They are able to differentiate based on cytokine concentration into either an M1-like or M2-like state. Differentiation is based on an intracellular signaling model, which was then reduced to a simple input/output model using a neural network to relate cytokine concentrations to differentiation. T cells are recruited based on tumor cell death, and act to kill tumor cells. They become fully active upon antigen contact, allowing them to kill tumor cells and secrete IFN-γ. Activation is promoted by M1 macrophages and inhibited by M2 macrophages. Tumor cells proliferate and secrete IL-4. With this model, we predict the effects of three macrophage-based immunotherapies (macrophage depletion, recruitment inhibition, and macrophage reeducation via PI3K inhibition) and how they impact the ability of T cells to remove the tumor. A model schematic along with an example spatial distribution of cells is shown in Fig 1. From the spatial distribution (Fig 1B), which shows a sample simulation without treatment, we see that macrophages surround the tumor, primarily in the M2 state, preventing some T cells from reaching the tumor and inhibiting T cells that are recruited to the tumor site. There are active T cells immediately adjacent to tumor cells; however, there are not enough to eliminate the tumor.

Fig 1. Model schematic and representative simulation result.

Fig 1

(A) Model schematic. T cells secrete IFN-γ, which promotes M1 differentiation. Tumor cells and M2 macrophages secrete IL-4, which promotes M2 differentiation. T cells kill tumor cells. M1 macrophages promote T cell function, while M2 macrophages inhibit it. (B) Representative spatial distribution of cells once the tumor reaches the equilibrium state. Tumor cells (black), T cells (yellow), active T cells (red), M0 macrophages (blue), M2 macrophages (purple). There are no M1 macrophages present at the end of this simulation.

Model behavior without treatment

Prior to simulating macrophage-based interventions, we ran simulations without any treatment to have a reference for comparing the efficacy of different treatment strategies. To understand how various parameters relating to the immune response affect model behavior, we sampled over a wide range of values above and below our base parameter values using Latin Hypercube Sampling (LHS), generating a total of 500 parameter sets. Due to the stochastic behavior of the model, each parameter set was simulated 100 times in order to obtain average behavior. We note that LHS generates a series of parameter sets where each parameter value only appears once. Therefore, the sharp spikes seen in the results are due to each parameter value being simulated once, and not the average response at the parameter value. Despite this, we still see trends for certain parameters. We found that macrophage recruitment rate had the only noticeable effect on the fraction of tumors removed by the immune system. Specifically, higher recruitment rates, and thus more macrophages in the system, lead to a lower fraction of tumors that were removed (S1 Fig). We also found that macrophage recruitment rate and lifespan were correlated to the final number of tumor cells at the end of simulation (S2 Fig). That is, having more macrophages, which would be in the M2 state (discussed in detail below), present in the environment, due to either increased recruitment or longer lifespan, leads to more tumor cells at the end of simulation. These results support the finding that high numbers of TAMs have a worse clinical outcome [15]. This analysis also supports our focus on predicting the effects of macrophage-based therapies. The final values of the model parameters were set so that few tumors were removed by the immune system without treatment, so that tumor killing in subsequent simulations would be due primarily to treatment, and to match those used in similar models.

We used the base model to explore the dynamics of each cell type and diffusible factor present in the TME. Shown in Fig 2 are the time courses for 100 simulations over 200 days without treatment. For all simulations where the immune system failed to eliminate the tumor (99%), each cell type reached an equilibrium state. This state can be considered the “immune control” phase of tumor growth, which is thought to take place over several years and involves the selection of tumor cells that are resistant to the immune system [3]. We conclude that this equilibrium state is indeed due to the cytotoxic function of the T cells and not spatial inhibition, with S3 Fig comparing tumor growth curves in the absence of immune cells and with immune cells present but without function, finding these two curves to be almost identical. After an initial drop due to the introduction of T cells to the environment, the tumor cell population evens out at around 350 cells (Fig 2A). The naive macrophage population drops immediately and stays at a low number due to continuous recruitment to the TME and subsequent differentiation (Fig 2B). In this set of simulations, we see no macrophage differentiation to the M1 phenotype (Fig 2C) whereas the number of M2 macrophages reaches a high level (Fig 2D). The time courses for the total number of T cells (Fig 2E) resembles a delayed version of those for tumor cells. The time courses for active T cells follows this, though at very low levels (Fig 2F). Due to the number of tumor cells, average and maximum IL-4 levels are relatively high (Fig 2G and 2H) while IFN-γ levels (Fig 2I and 2J) are low due to low T cell activation. This difference causes the absence of M0 differentiation into the M1 phenotype. We also briefly examined how initial macrophage density impacts tumor dynamics (S4 Fig). We found that while this impacts initial tumor dynamics, long-term dynamics were not impacted by initial macrophage count.

Fig 2. Time courses with baseline parameters and no treatment.

Fig 2

Time courses for tumors that were not removed by the immune system are shown in black; those for tumors that were removed are shown in red. There is only one simulation here that led to tumor removal. (A) Cancer cells, (B) M0 cells, (C) M1 cells, (D) M2 cells, (E) total T cells, (F) active T cells, (G) average IL-4, (H) maximum IL-4, (I) average IFN-γ, (J) Maximum IFN-γ. (G)–(J): units are number of molecules.

Effects of continuous treatment

After evaluating tumor growth in the absence of treatment, we evaluated the efficacy of three macrophage-based therapies: (1) macrophage depletion, (2) inhibition of macrophage recruitment, and (3) re-education of macrophages via PI3K inhibition. To initially explore how each treatment strategy affects the immune response, we simulated each treatment at ten different strengths. Treatment was started 100 days after tumor initiation, which was after the system had reached equilibrium. The treatment continued until either the tumor was removed or until 200 days of simulation time was reached. We repeated each simulation 100 times and averaged the results to obtain the general effect of each treatment. A primary output of these simulations is the fraction of tumors removed—the number of tumors eliminated after treatment was started. We also calculated the time from start of therapy to tumor elimination and the maximum numbers of M1 macrophages, T cells, and active T cells. Because treatment starts once equilibrium is reached, the system is already at the maximum number of tumor cells and M2 macrophages, so we do not record their maximum values during treatment.

First, we investigated the effects of macrophage depletion (Fig 3A). The “Depletion Probability” displayed on the x-axis is the probability that a macrophage has of being removed at each time step, with an equal probability for each macrophage phenotype. Fig 3A-i shows the percent of tumors eliminated after treatment is started. We see that there is a drastic jump from almost no effectiveness at a probability of 0.001 to almost complete tumor removal at a probability of 0.002, which then increases slightly and stays at complete tumor removal as the probability is increased. It is interesting that there is such a sharp increase in effectiveness without a corresponding increase in the maximum number of M1 macrophages or active T cells. We believe that this increase is due to removal of enough macrophages around the tumor to allow T cells near the tumor to infiltrate better and remove the tumor. Following this, the average number of days needed to remove the tumor decreases and then remains static (Fig 3A-ii). We see that the maximum number of M1 macrophages increases with depletion probability to a point, then begins to decrease at the highest depletion probabilities (Fig 3A-iii). We believe that the increase is due to the decrease in IL-4 as tumor cells and M2 macrophages are removed, allowing newly recruited macrophages to differentiate into the M1 state. In S5 Fig we show the time courses at a depletion probability of 0.006, which shows a decrease in IL-4 and and increase in IFN just prior to the increase in M1 macrophages. As depletion probability further increases, these new macrophages are removed fast enough to decrease the maximum number of M1 macrophages. However, due to the low numbers of M1 macrophages and large error bars, we cannot make any definitive inferences from this. The total number of T cells increases very slightly with depletion probability (Fig 3A-iv) while T cell activation sees a more drastic increase (Fig 3A-v) corresponding with the number of M1 macrophages.

Fig 3. Effects of continuous immunotherapy started at 100 days of simulation.

Fig 3

(A) Macrophage depletion, (B) recruitment inhibition, and (C) PI3K inhibition. (i) fraction of tumors removed after starting therapy. (ii) time (days) from starting treatment to tumor removal. It is averaged over the 100 simulations and is equal to zero if no tumors were removed at that treatment level. (iii) maximum number of M1 macrophages. (iv) maximum number of total T cells. (v) maximum number of active T cells. Note the differences in y-axis scales across treatment strategies. Asterisks signify that a result is statistically significant (p<0.01) from the result of the lowest treatment strength. We note that for the time needed to remove the tumor (ii), we plot the time averaged over only simulations where the tumor was removed. Therefore, while some bars may appear much higher than that of the lowest treatment strength, they only represent a small number of simulations out of 100 and thus were not found to be statistically significant.

Examining the time course for a depletion probability of 0.002 (S6 Fig), we find that in simulations that fail to remove the tumor, the tumor cell population reaches a new equilibrium state that is lower than the original (S6A Fig). As the tumor is removed, there is an increase in the number of naïve macrophages (S6B Fig) due to less of an influence from the tumor for macrophage differentiation. At this level of depletion, no M1 macrophages arise during simulation (S6C Fig), while the number of M2 macrophages decreases (S6D Fig). We also see little difference in T cell and active T cell dynamics (S6E and S6F Fig) between simulations that removed the tumor and those that did not, presumably due to the lack of M1 macrophages, which promote T cell activation.

The second treatment strategy we employed was inhibition of macrophage recruitment, which is similar to macrophage depletion in that it eliminates macrophages regardless of phenotype. On the x-axes for Fig 3B is the “Inhibition Strength,” which is the fraction that the parameter for recruitment rate was reduced by. We see that below 0.6 inhibition, treatment is ineffective in removing the tumor. At 0.6 there is very minor effectiveness, which then rapidly increases with inhibition strength (Fig 3B-i). As inhibition strength increases, we see a slight decrease in the average time needed to remove the tumor (Fig 3B-ii), however it does take longer to remove the tumor than with macrophage depletion probabilities that achieved similar tumor removal (compare Fig 3A-ii and Fig 3B-ii). Whereas macrophage depletion showed some increase in the number of M1 macrophages, they are essentially nonexistent with recruitment inhibition (Fig 3B-iii). We believe this is due to the fact that macrophage depletion removes macrophages from the environment while recruitment inhibition prevents new macrophages from entering. While both methods lower the total number of macrophages, the macrohpages that remain even with recruitment inhibition are closer to the tumor, where IL-4 levels are highest, which keeps them in the M2 state. With macrophage depletion, new macrophages enter the environment farther from the tumor where IL-4 levels are lower, allowing some of them to differentiate to the M1 state. With this, we see that there is no change in the numbers of total or active T cells (Fig 3B-iv,v), with T cell activation being fairly low.

Examining the time courses for a recruitment inhibition of 0.7, which eliminated roughly half of the tumors, we find that the time courses for tumors that were removed are very similar to those that were not (S7 Fig). The dynamics for the tumor cells are very similar for the initial decrease, with tumors that were eliminated continuing to decrease, while tumors that were not suddenly leveling off to a new equilibrium (S7A Fig). We believe this is due to inherent randomness and M2 macrophages preventing T cells from advancing t the tumor. We do see some increase in naive macrophages in tumors that were eliminated (S7B Fig). Like the simulations without treatment, no M1 macrophages appear (S7C Fig). The numbers of M2 macrophages, total T cells, and active T cells exhibit similar behavior as the tumor cells (S7D–S7F Fig). IL-4 and IFN-γ concentrations mirror tumor cell and active T cell dynamics, respectively (S7G–S7J Fig).

The final treatment strategy, PI3K inhibition, yielded similar efficacies as recruitment inhibition, though with a steeper shift from non-effectiveness to effectiveness (Fig 3Ci). However, PI3K inhibition displayed the fastest tumor removal time (Fig 3Cii) due to increases in M1 macropahges and thus T cell function. As intended, because PI3K inhibition aims to reeducate the macrophages, the number of M1 macrophages is much higher with this strategy (Fig 3Ciii). This increase correlates with an increase in the number of total and active T cells (Fig 3Civ,v). We also examined the time courses for a PI3K inhibition of 0.8 (S8 Fig). There is the expected decrease in tumor cells (S8A Fig) and, since this treatment does not remove macrophages, there is an increase in naive macrophages (S8B Fig) due to a decreased pressure to differentiate as the number of cancer cells is reduced. The number of M1 macrophages rapidly increases immediately after treatment, while the number of M2 macrophages rapidly decreases (S8C and S8D Fig). Both total and active T cells increase greatly with the increase in M1 macrophages (S8E and S8F Fig) due to the influence of the M1 macrophages. As with other treatments, IL-4 and IFN-γ levels follow tumor and T cell dynamics (S8G–S8J Fig).

Overall, we find that, at the baseline parameters, treatment efficacy for all three strategies steeply increases from ineffective to very effective when simulated continuously. PI3K inhibition, which converts the macrophages to the M1 state, leads to higher levels of T cell activation and removes the tumor at a faster rate than the other two treatments. Interestingly, although both of these treatments reduce the number of macrophages in the TME, we see that macrophage depletion leads to a slight increase in M1 macrophages while recruitment inhibition does not.

Treatment cycles

While it is ideal to be able to give a continuous treatment, this is unrealistic due to various reasons, such as patient compliance, inability to give treatment continuously due to pharmaceutical implementation, or the desire to give as little treatment as possible in order to avoid potential side-effects. Therefore, we ran several sets of simulations where treatment was cycled on and off. We vary both the total length of the treatment cycle and the amount of time during the cycle that treatment is given. We performed these simulations only for higher treatment strengths, as it can be reasoned that cycling treatment would not be as effective as constant treatment.

For macrophage depletion, we implement treatment by removing the fraction of macrophages equal to “Depletion Strength” at the beginning of each treatment cycle (Fig 4A), shown on the y-axis. The duration of each cycle is shown on the x-axis. Even with cycling treatment on and off, we find that there is a steep increase in the treatment being ineffective to very effective as depletion strength is increased or cycle duration is decreased (Fig 4A-i). The time needed for the treatment to remove the tumor also decreases slightly as depletion strength is increased and cycle duration decreased (Fig 4A-ii). Surprisingly, we see a slight increase in M1 macrophages, total T cells, and active T cells (Fig 4A-iii to 4A-v), especially at the highest depletion strength and slightly longer cycle durations, to a higher level than with constant treatment. This is most likely due to the decrease in IL-4 as tumor cells and M2 macrophages are removed, allowing some of the new macrophages to differentiate into the M1 state.

Fig 4. Effects of cycled immunotherapy started at 100 days of simulation.

Fig 4

For macrophage depletion (A), the fraction of macrophages removed at the beginning of each cycle is given as “Depletion Strength” and the length of each cycle is “Cycle Duration.” For recruitment inhibition (B) and PI3K inhibition (C), the number of days in the cycle that treatment is on for is given as “Days Treatment is On.” Recruitment inhibition is simulated at a strength of 1.0 (complete inhibition) and PI3K inhibition is simulated at a strength of 0.8. For recruitment inhibition and PI3K inhibition, spaces marked with an X are those where treatment-on time is equal or greater to the cycle duration, thus were not simulated. (i) fraction of tumors removed after starting therapy. (ii) time (days) from starting treatment to tumor removal. It is averaged over the 100 simulations and is equal to zero if no tumors were removed at that treatment level. (iii) maximum number of M1 macrophages. (iv) maximum number of total T cells. (v) maximum number of active T cells.

Whereas macrophage depletion continues to be effective when treatment is cycled, recruitment inhibition becomes rather ineffective, even at complete inhibition of macrophage recruitment (Fig 4B). When cycling recruitment inhibition, treatment was turned on for the number of days shown on the y-axis and turned off for the remainder of the cycle (x-axis). When treatment is given for almost the entire cycle, there is strong tumor removal, however this quickly falls when treatment is not given for as long or when cycle duration increases (Fig 4B-i). The time needed to remove the tumor is fairly consistent in cases where there is tumor removal (Fig 4B-ii). While there are little to no M1 macrophages for almost all of the treatment combinations, there is one instance where is a large number of M1 macrophages (Fig 4B-iii). However, because that combination saw very little tumor removal, we assume it is a very rare stochastic occurrence. The numbers of T cells and active T cells remain low and constant across combinations, except the instance where there was an increase in M1 macrophages (Fig 4B-iv,v).

Interestingly, a PI3K inhibition of 0.8, which is the lowest successful inhibition for continuous treatment, is still very successful when cycling treatment, even when treatment is given briefly for long cycle durations (Fig 4C-i). For the bulk of the treatment combinations, the time needed to remove the tumor is fairly constant (Fig 4C-ii). M1 macrophages, T cells, and active T cells are all at their maximum values (Fig 4C-iii to 4C-v). To determine why PI3K inhibition continues to be successful even when given for short durations, we examined the time courses when treatment was given for 2 days out of a 25-day cycle (Fig 5). Interestingly, treatment cycles do not always remove the tumor; however, when tumor elimination does happen, it occurs very swiftly (Fig 5A). It is unclear why this occurs, though we do see that on cycles that do not lead to removal, there is little change in the number of M2 macrophages. Because the sustained response that leads to tumor removal is due to T cell produced IFN-γ, we believe that not enough T cells are becoming activated during these cycles to cause the sustained response. We have highlighted a single time course in red to make it easier to visualize. Immediately following a successful cycle of treatment, we see a gradual rise in naive macrophages as the tumor is eliminated (Fig 5B), and a rapid increase in M1 macrophages followed by a gradual decrease (Fig 5C). M2 macrophages, on the other hand, rapidly decrease since they are being converted in the M1 state (Fig 5D). Corresponding with M1 behavior, the numbers of T cells and active T cells rapidly increase due to influence from the M1 macrophages (Fig 5E and 5F). IL-4 and IFN-γ levels correlate with tumor and T cell dynamics (Fig 5G–5J). We see that due to sustained T cell activation there is sustained IFN-γ, which is responsible for promoting M1 differentiation. This creates a feedback loop between the M1 macrophages and T cells that sustains M1 differentiation and tumor removal even after treatment is removed.

Fig 5. PI3K inhibition of 0.8 for cycled immunotherapy.

Fig 5

Individual time courses for PI3K inhibition of 0.8 at a cycle duration of 25 days with treatment given for 2 days per cycle. Tumors that survived to the end of simulation are shown in black. Tumors that were eliminated are shown in green. One time course is shown in red for ease of understanding. (A) Cancer cells, (B) M0 macrophages, (C) M1 macrophages, (D) M2 macrophages, (E) T cells, (F) Active T cells, (G) Average IL-4, (H) Maximum IL-4, (I) Average IFN-γ, (J) Maximum IFN-γ.

Overall, when cycling treatment on and off, we find that macrophage depletion yields expected results, with higher depletion strengths and shorter treatment cycles leading to a stronger tumor removal. Interestingly, recruitment inhibition becomes very ineffective when cycled, unless treatment is given for almost the entirety of simulation. PI3K inhibition, however, is very effective for almost every combination of time on and time off. We find that this is because converting the macrophages to the M1 phenotype promotes T cell activation and IFN-γ secretion, which sustains the M1 phenotype after treatment is removed.

Changing tumor proliferation rate and macrophage recruitment rate

Of interest is how tumor proliferation rate and macrophage recruitment rate affect the immune response with and without treatment. Presumably these two parameters would lead to a different equilibrium state, which would change the effectiveness of each treatment. We repeated the above analysis for three sets of tumors: increased proliferation rate, increased macrophage recruitment rate, and both. We first consider tumor growth without treatment, and then implement the three macrophage-based treatment strategies.

Compared to the baseline parameters, we see only a slight increase in the equilibrium number of tumor cells (Fig 6A) when tumor proliferation rate is increased from 0.8 per day to 1.2 per day. What is most interesting is that at random points throughout the equilibrium state, the immune system will suddenly remove the tumor, a phenomenon not seen with the baseline parameters. As with previous simulations, a decrease in tumor cell population is followed by an increase in naive macrophage population (Fig 6B). For simulations that removed the tumor, we see a rapid increase in M1 macrophages with a corresponding decrease in M2 macrophages (Fig 6C and 6D). The dynamics of total T cells and active T cells follows that of M1 macrophages (Fig 6E and 6F). IL-4 and IFN-γ dynamics follow tumor cells and T cells, respectively (Fig 6G–6J).

Fig 6. Time courses with increased tumor proliferation rate and no treatment.

Fig 6

The tumor proliferation rate is increased to 1.2/day. Time courses for tumors that were not removed by the immune system are shown in black; those for tumors that were removed are shown in red. (A) Cancer cells, (B) M0 cells, (C) M1 cells, (D) M2 cells, (E) Total T cells, (F) Active T cells, (G) Average IL-4, (H) Maximum IL-4, (I) Average IFN-γ, (J) Maximum IFN-γ.

At the increased tumor proliferation rate, we see a more gradual increase in the effectiveness of constant PI3K inhibition (Fig 7A). However, these results are conflated due to propensity of the immune system to spontaneously remove the tumor during the equilibrium state, as evident by the large error bars in Fig 7B. Across inhibition strengths, there is a large amount of M1 differentiation, T cell numbers, and T cell activation (Fig 7C–7E). Cycling PI3K inhibition is successful throughout the different cycle durations, even with the increased tumor proliferation rate (S9C Fig). Macrophage depletion and recruitment inhibition do not show a clear trend and the results are again conflated due to the inherent tumor removal found without treatment (S9A and S9B Fig, S10 Fig and S11 Fig).

Fig 7. Constant PI3K inhibition at tumor proliferation rate of 1.2/day.

Fig 7

(A) fraction of tumors removed after starting therapy, (B) average time needed to remove the tumor, (C) the maximum number of M1 macrophages, (D) the maximum number of total T cells, (E) the maximum number of active T cells. Note the differences in y-axis scales across treatment strategies. Asterisks signify that a result is statistically significant (p<0.01) from the result of the lowest treatment strength. We note that for the time needed to remove the tumor (B), plotted is the time averaged over only simulations where the tumor was removed. Therefore, while some bars may appear much higher than that of the lowest treatment strength, they only represent a small number of simulations out of 100 and thus were not found to be statistically significant.

Whereas increased tumor proliferation only caused a slight increase in the equilibrium tumor population, doubling the rate of macrophage recruitment greatly increased the equilibrium tumor population to roughly twice of the baseline (Fig 8A). Naive and M1 macrophage dynamics (Fig 8B and 8C) are very similar to the baseline while dynamics for the remaining cell populations and cytokines reach a higher equilibrium state (Fig 8D–8J).

Fig 8. Time courses with macrophage recruitment rate doubled and no treatment.

Fig 8

(A) Cancer cells, (B) M0 cells, (C) M1 cells, (D) M2 cells, (E) Total T cells, (F) Active T cells, (G) Average IL-4, (H) Maximum IL-4, (I) Average IFN-γ, (J) Maximum IFN-γ.

At the higher macrophage recruitment rate, macrophage depletion therapy bears similar effectiveness as the baseline recruitment rate (Fig 9A), however effectiveness appears at a depletion probability of 0.003 rather than 0.002. The time needed to remove the tumor is constant across depletion probabilities (Fig 9B) and is a bit higher than at the baseline recruitment rate. There is also a large increase in the number of M1 macrophages (Fig 9C), and the peak at a moderate depletion probability becomes more clear. This response is mirrored with the numbers of T cells and active T cells (Fig 9D and 9E), though with a more gradual tail. The other therapies resemble the baseline case (S12, S13 and S14 Figs).

Fig 9. Constant macrophage depletion started at 100 days with macrophage recruitment rate doubled.

Fig 9

(A) fraction of tumors removed after starting simulation, (B) average time needed to remove the tumor, (C) the maximum number of M1 macrophages, (D) the maximum number of total T cells, (E) the maximum number of active T cells. Note the differences in y-axis scales across treatment strategies. Asterisks signify that a result is statistically significant (p<0.01) from the result of the lowest treatment strength. We note that for the time needed to remove the tumor (B), plotted is the time averaged over only simulations where the tumor was removed. Therefore, while some bars may appear much higher than that of the lowest treatment strength, they only represent a small number of simulations out of 100 and thus were not found to be statistically significant.

Increasing both tumor proliferation rate and macrophage recruitment rate leads to the highest equilibrium tumor population (Fig 10A). The dynamics of the other cells and cytokines behave similarly to the previous simulations without treatment (Fig 10B–10J).

Fig 10. Time courses with increased tumor proliferation and macrophage recruitment rates, without treatment.

Fig 10

The macrophage recruitment rate is doubled, and tumor proliferation rate increased to 1.2/day. Time courses for tumors that were not removed by the immune system are shown in black; those for tumors that were removed are shown in red. (A) Cancer cells, (B) M0 cells, (C) M1 cells, (D) M2 cells, (E) Total T cells, (F) Active T cells, (G) Average IL-4, (H) Maximum IL-4, (I) Average IFN-γ, (J) Maximum IFN-γ.

Interestingly, lower treatment strengths of continuous PI3K inhibition are more effective here than at the baseline parameters, despite the higher equilibrium state of the tumor (Fig 11A), and efficacy increases gradually with inhibition strength. However, at the higher inhibition strengths, treatment is not as effective as it was at the baseline parameters (Fig 3Ci). The time needed to remove the tumor is fairly constant across inhibition strengths (Fig 11B). The numbers of M1 macrophages, total T cells, and active T cells all increase gradually following treatment efficacy, however, due to the wide standard deviations, it does not appear to be too significant of an increase (Fig 11C–11E). Neither continuous macrophage depletion nor recruitment inhibition have a significant ability to remove the tumor (S15 and S16 Figs).

Fig 11. Constant PI3K inhibition at increased tumor proliferation and macrophage recruitment rates.

Fig 11

(A) fraction of tumors removed after starting therapy, (B) average time needed to remove the tumor, (C) the maximum number of M1 macrophages, (D) the maximum number of total T cells, (E) the maximum number of active T cells. Note the differences in y-axis scales across treatment strategies. Asterisks signify that a result is statistically significant (p<0.01) from the result of the lowest treatment strength. We note that for the time needed to remove the tumor (B), plotted is the time averaged over only simulations where the tumor was removed. Therefore, while some bars may appear much higher than that of the lowest treatment strength, they only represent a small number of simulations out of 100 and thus were not found to be statistically significant.

While cycling PI3K inhibition remains similar to the baseline case (S17 Fig), we see a very different behavior with macrophage depletion and recruitment inhibition when tumor proliferation and macrophage recruitment rates are increased, compared to baseline case. In Fig 12 we show the effects of cycling macrophage depletion while the effects of recruitment inhibition, which are very similar, are shown in S18 Fig. Interestingly, moderate depletion strengths and treatment cycle lengths or high depletion strengths at long treatment cycles were the most effective at removing the tumor (Fig 12A). This result is very different from previous simulations, where efficacy correlated to the amount of treatment given. This shows that more moderate treatment could potentially be more effective. While the efficacy here still is not very high, it is higher than continuous treatment for the same tumor parameters. Time needed to remove the tumor is fairly constant for cases where there was tumor removal (Fig 12B). The levels of M1 macrophages and T cells mirror the behavior of tumor elimination (Fig 12C–12E).

Fig 12. Cycling macrophage depletion with increased tumor proliferation and macrophage recruitment rates.

Fig 12

The macrophage recruitment rate is doubled, and tumor proliferation rate increased to 1.2/day. (A) fraction of tumors removed after starting simulation, (B) average time needed to remove the tumor, (C) the maximum number of M1 macrophages, (D) the maximum number of total T cells, (E) the maximum number of active T cells.

Overall, we find that the rate of macrophage recruitment is more impactful on the equilibrium state than the tumor proliferation rate. We also note that, surprisingly, increasing the tumor proliferation rate leads to spontaneous tumor removal during the equilibrium state. As can be expected, treatment efficacy decreases as the equilibrium state increases, though PI3K inhibition retained strong efficacy at higher treatment strengths. The most interesting result is from the simulations at increased tumor proliferation and macrophage recruitment. Here, when cycling macrophage depletion and recruitment inhibition, we find that moderate treatments are actually more effective, causing a slight increase in M1 macrophages and tumor removal, however their effectiveness is well below that of PI3K inhibition.

Discussion

In this study, we present an ABM examining macrophage-T cell interactions and how macrophage-based immunotherapies can influence tumor growth and the immune response. While macrophages have a number of effects on the TME, including immunosuppression, angiogenesis, and tumor cell invasion [10,11,13,14], we focus on their immune-related interactions and how they can promote or inhibit the T cell response. By using an agent-based model, we are able to explore the emergent behavior that arises from cell-to-cell interactions that would otherwise be very difficult to capture with deterministic equations. To better explore macrophage-based immunotherapies, we utilize a mechanistic model of intracellular macrophage phenotype markers in response to two typical M1 and M2 related cytokines, respectively IFN-γ and IL-4.

We find, consistent with experimental observations, that almost all of the macrophages in the system display an M2 phenotype when no treatment is given, which is indicative of a poor clinical outcome [36]. Interestingly, we find that the system reaches an equilibrium where the T cells are able to function enough to prevent tumor outgrowth but are unable to remove the tumor. This can be considered the “immune control” phase of tumor growth and is very difficult to explore experimentally as in vitro methods are unable to capture immune cell recruitment or the long timescale over which immune control occurs. Additionally, it is difficult to find this phase in vivo as this phase is completed by the time a tumor can be detected. At our baseline parameters, we find that, at a high enough strength, each treatment has a strong efficacy for removing the tumor when given continuously. When cycling treatment, macrophage depletion retains its efficacy at higher strengths and shorter cycles while recruitment inhibition becomes largely ineffective. PI3K inhibition retains a strong efficacy, even when given for a short amount of time over a long cycle, due to a positive feedback loop between the M1 macrophages and T cells, highlighting the importance of these interactions.

At increased tumor proliferation rates and macrophage recruitment rates, which increase the equilibrium tumor population, macrophage depletion and recruitment inhibition become less effective while PI3K inhibition retains efficacy. What is notable here is that, when cycling macrophage depletion and recruitment inhibition, there is a slight increase in tumor removal and the number of M1 macrophages at moderate treatment cycles, which means that a stronger treatment may not always be the most effective in the case of lowering the number of macrophages in the TME. We believe this is because these treatments remove M2 macrophages from the system, which decreases IL-4 levels and allows T cells to activate, increasing IFN-γ levels. This then allows macrophages newly recruited to the tumor site, which enter the simulation at a distance from the tumor and thus far from peak IL-4 levels, to differentiate to M1 and increase the T cell response. At moderate levels of treatment, enough macrophages are still entering the system to differentiate into M1 macrophages, whereas higher levels of these treatments prevent new macrophages from entering and differentiating. These results, along with the efficacy of PI3K inhibition, highlight the importance of M1 macrophages and their interactions with T cells within the TME. Thus, having a modeling framework that explicitly accounts for these interactions is particularly useful.

While it is difficult to extensively match our simulation results to in vivo data, we have found some studies that qualitatively support our results. Nywening et al.[37] present a phase 1b clinical trial of an oral, small-molecule CCR2 inhibitor, which decreases macrophage recruitment to the tumor. They found that this lowers the number of TAMs in the tumor and improves the anti-tumor immune response. This supports our explanation of the model prediction for the effect of reducing macrophage recruitment–that this strategy reduces the number of M2 macrophages (S4 Fig). Germano et al.[38] performed a pre-clinical study examining a macrophage-depleting drug that was able to eliminate macrophages from the tumor site without affecting the number of T cells, which improved T cell removal of the tumor, which is in line with the model predictions (Fig 3A-iv). Kaneda et al.[39] examined PI3K inhibition in mice and found that it stimulates an anti-tumor immune response. They found that, in vitro, PI3K inhibition causes a decrease in immunosuppressive macrophage markers and an increase in immune supporting markers. This is similar to the model predictions for how PI3K inhibition affects IL-4 and IFN-γ (S5 Fig). They also found that, in mice, PI3K inhibition led to an increase in IFN-γ expression by T cells and tumor removal.

A novel piece of our work is the reduction of complex mechanistic models into simple neural networks for their inclusion in the individual agents. Though there are several studies that incorporate mechanistic models into ABMs, this brings with it a great computational cost, which is why most models only use simple discrete/stochastic rules. While simplistic rules can still be used to draw great insight about the system, since ABMs are generally concerned about behavior at the multicellular scale, adding this additional biological scale allows us to better understand the mechanistic model and gives us insight into how changes at the intracellular level can compound into changes at the multicellular level. Using the mechanistic model outside of the ABM to train a neural network greatly improves the computational speed, allowing us to run more simulations and explore additional aspects of tumor growth. While some information is inevitably lost, with the neural network only predicting categorical behavior, we believe it to be an acceptable trade-off. We demonstrate that not only can we use the neural network to predict the results of differing cytokine levels, but we can also include different kinetic parameters so that we can simulate the effects of specific targets. This method provides ample opportunity for future simulations where we explore intercellular heterogeneity by including initial protein concentrations in the Monte Carlo simulations and having these protein concentrations as neural network inputs as well.

We acknowledge some limitations of our model. The main limitation is that macrophage phenotype and interactions with T cells are simplified. Macrophages, in reality, display a range of properties and can exist as mixed phenotypes. However, simplifying differentiation into discrete phenotypes, a choice made by similar models, captures enough of the macrophage behavior to be sufficient for this study. Also, the interactions between macrophages and T cells are mediated by many different cytokines, making their interactions much more complex than how we modeled them. However, adding in more cytokines and ligand expressions would have made the model much more complex, and we do not believe this additional layer of complexity would have significantly contributed to the objective of the current study. Another model limitation is that we do not account for nutrient uptake or hypoxia, which promotes M2 differentiation and T cell suppression [31]. We chose to not include these effects because we wanted to focus solely on the interactions between macrophages and T cells. We can account for the effects of nutrients in later models. In addition, in this work, we do not study the effects of changing the T cell numbers or behaviors in order to isolate how macrophage-based strategies influence tumor growth. Expanding the study to vary T cell dynamics can be another focus of future work. We also aim to explore a more detailed spatial analysis of the model to better understand the observed phenomena.

Overall, our model captures the overarching interactions between macrophages and T cells within the TME and predicts how three main macrophage-based immunotherapies impact the immune response to the tumor. We highlight the importance of the interactions between M1 macrophages and T cells for promoting a robust anti-tumor response. We also introduce a method for reducing the computational cost of incorporating mechanistic models into an ABM by training a neural network on the calculated mechanistic model response.

Methods

Here, we present a multi-scale, hybrid, ABM of the TME, consisting of several cell types and diffusible factors. Our model is lattice-based, with each cell taking up one lattice site. Each cell type has certain behaviors: cells can proliferate into empty lattice sites, migrate to a new lattice site, and interact with other cells and diffusible factors. Using this model, we examine various immunotherapies and their impact on the TME.

Overview of model

The model represents early tumor growth or a small initial metastasis, and we simulate the tumor in 2D, representing a tissue slice. The model consists of three cell types: T cells, macrophages, and cancer cells, represented as discrete agents. Interactions between cell types and cytokines are shown in Fig 1A. The lattice is a 100x100 grid representing a 1.5x1.5mm tissue slice, with each site being a 15-micrometer square, the size of one cell diameter [40]. As such, only one cell can occupy a site at a time. While different cell types do have different sizes, the “one cell per site” assumption is a necessary limitation of on-lattice models, with many similar models making the same assumption [27,29,30]. Off-lattice models are able to easily account for different cell sizes, however these models are more computationally expensive. Fig 1B displays an example simulation showing the spatial distribution of different cell types. To model the production and diffusion of diffusible factors, we have a layer of partial differential equations (PDEs). Parameters are either taken from previous modeling efforts or set based on experimental observations. Our model does not represent a specific tumor type. Instead, it is meant to examine generalized tumor behavior. We describe the model in detail below and the parameter values are listed in S1 Table, along with supporting references.

Diffusible factors

There are three diffusible factors present: a tumor-secreted factor that activates macrophages and two cytokines, IL-4 and IFN-γ. The first is referred to as the macrophage activation factor, which alerts the macrophages of the tumor and causes them to differentiate. This factor is secreted by the tumor cells and primarily represents high mobility group box 1 protein (HMG-B1) [29]. Also secreted by the tumor, and by M2 macrophages, is IL-4, which is an immunosuppressive cytokine that promotes macrophage differentiation into the M2 tumor-promoting phenotype [41]. The final diffusible factor is IFN-γ which is secreted by activated T cells and is a part of the Th1 response [42]. This immune response promotes macrophage differentiation into the M1 immune-promoting phenotype. IL-4 and IFN-γ were chosen because they are typical pro-tumor and anti-tumor cytokines, respectively. Also, they are used as the inputs to the mechanistic model used to determine macrophage differentiation, described in detail in later sections.

The diffusion and secretion of these factors was modeled using PDEs shown in Eq 1.

Cit=D2Ci+ksec,iCells(x,y) (1)

Here, Ci is the concentration of diffusible factor i, ksec,i is the secretion rate of the factor, and Cells(x,y) are the coordinates of cells that secrete the factor. To solve the equations, we use a finite difference method to discretize them.

Macrophages

Macrophages are initially present in the tissue, and more are recruited to the TME due to the secretion of various chemokines, such as CCL2[15,16,43]. To simulate macrophage infiltration of the tumor, we set a rate of macrophage recruitment [29]. Macrophages enter the TME in the naïve state (M0). Differentiation occurs once a sufficient level of activating factor is present. In our model, a macrophage checks the levels of IL-4 and IFN-γ that are present in their local environment, and then differentiates according to the intracellular model described in the following section. Macrophages migrate towards the tumor, mimicking chemotaxis, and they have a finite lifespan.

Macrophage differentiation model

To increase the level of biological detail in the model, we incorporate a mechanistic ordinary differential equation (ODE) model of macrophage intracellular signaling in response to IL-4 and IFN-γ, which was developed by Zhao et al [41]. Although macrophage phenotype is shown to be on a continuous spectrum [31], we use discrete phenotypes for modeling simplicity, as other papers have done [29,30]. Following the paper by Zhao et al., we first take the model outputs, which are the time courses for iNOS, TNF-α, CXCL9, CXCL10, and IL-12, which are characteristic of an M1 phenotype, and IL-10, Arg-1, and VEGF, which are typical of an M2 phenotype, normalized to their starting values. The product of the time courses of the M1 outputs is divided by the product of the time courses of the M2 outputs to obtain a time course of the “M1/M2 Score.” While there are many possible ways that macrophage differentiation can be determined from here, for our purposes, we calculate this ratio over a 24-hour simulation and then take the average value. If the average value is greater than one, we assume that there is a greater M1-promoting signaling, and the macrophage differentiates into the M1 phenotype. If the value is less than one, the macrophage differentiates into the M2 phenotype. Macrophages are also shown to be plastic, changing their phenotype based on changing environmental conditions [44]. As such, we allow macrophages to reevaluate their local microenvironment, process the input signals via the intracellular signaling model, and redifferentiate every 24 hours. We assume that macrophages can redifferentiate indefinitely.

While ODE models are able to provide an increased level of biological detail to the ABM, they greatly increase the computational burden of simulation. Therefore, to improve computational time, we replaced the mechanistic model with a data-driven model that takes the cytokine concentrations as inputs and outputs the macrophage phenotype. We have already shown that data-driven models are able to predict mechanistic model outputs [45]. Here, we use a neural network to predict macrophage phenotype. Briefly, a neural network is a machine-learning method that predicts outputs given a set of inputs, even with a complex non-linear relationship between the two. It is trained using large sets of input-output data. A neural network can contain several layers, each with many neurons. A single neuron takes as its input the linear combination of the values of either the model inputs or the outputs of the previous layer. The neuron then transforms this input with an “activation function,” such as a sigmoid function. The output of this function becomes the neuron’s output and is used an input to the next layer.

To train the neural network, we ran 100,000 Monte Carlo simulations of the mechanistic model, randomly sampling cytokine concentrations over the range that they would be present in the ABM. We then determined the phenotype as described above, creating a dataset of inputs and outputs. The neural network was then trained in Python using TensorFlow [46]. The final neural network consisted of one hidden layer with four neurons using a sigmoid activation function. We trained the network several times to determine its ability to capture the ODE model outputs, each time randomly splitting the dataset into training and testing sets. With each testing set, the neural network achieved a prediction accuracy of >98%. Because of this very high accuracy in predicting the output of the ODE model, we determined that the neural network is an efficient way to simplify the ODE model into a simple input-output model.

T cells

In order to eliminate the tumor, T cells have to be recruited to the TME. Upon cancer cell death, tumor antigen is brought to the lymph nodes, initiating an immune response. To model this process, we implement a T cell recruitment rate for each time step, calculated using the following equations, which were taken from Gong et al [26]. The rate at which T cells are recruited is then multiplied by the duration of each time step to get the number of T cells that are recruited at that iteration, and then that many T cells are randomly placed in available sites on the lattice, since we assume there is sufficient vascularization for immune cell recruitment.

r(t)=kaNc,death(ttdelay)r11ki+Nc,death(ttdelay) (2)
Nc,death(t)=s=t0.5*twindowt+0.5*twindownc,death(s) (3)

The rate, r(t), of T cell recruitment is calculated using the mutational burden, ka, which is the extent of tumor cell mutation, the basal recruitment rate, r1, the neoantigen strength, ki, and the number of cancer cell deaths over an interval, Nc,death. While antigen characteristics can vary widely across tumors, we leave them constant as it is not the focus of this study. The tdelay parameter accounts for T cell priming and trafficking to the tumor site, leading to a delayed response. The twindow parameter sets a time range centered around the current simulation time minus tdelay from which to accumulate the number of dead cancer cells, which influences the rate of T cell recruitment.

T cells can do one of four actions: migrate towards the tumor (representing chemotaxis), become fully active upon contact with antigen on a cancer cell, proliferate if fully active, and kill a nearby cancer cell. Fully active T cells are also able to secrete IFN-γ to influence M1 polarization. Interactions between T cells and macrophages are described in more detail below.

T cell–macrophage interactions

There are numerous ways that macrophages are able to modulate T cell behavior, including cytokine excretion, antigen presentation, and inhibitory ligand expression. To model T cell-macrophage interactions, we condense these behaviors into having macrophages promote or inhibit T cell activation based on their phenotype [9,15,20,4749]. M1 macrophages are able to activate neighboring T cells, while M2 macrophages are able to prevent neighboring T cells from becoming active. This yields the following equation that determines the probability of a T cell becoming fully active:

Pact=antigenPresence×11+ek((antigenPresencenumM2numM1+1)s) (4)

where antigenPresence equals 1 if there is a tumor cell or an M1 macrophage present to activate the T cell. numM1 and numM2 are the number of M1 and M2 macrophages, respectively, neighboring the T cell. The parameters k and s are scaling parameters. We formulated this equation, and hand-tuned parameters k and s, to give a reasonable range of probabilities based on neighboring macrophages.

Cancer cells

Cancer cells in the model simply proliferate. After a cancer cell’s internal clock has reached the specified proliferation time, the cancer cell will proliferate, unless there is no room for it to proliferate or it has reached the specified lifespan. If there is not sufficient room for a new cancer cell to be placed, it will become quiescent.

T cell killing of cancer cells

When an active T cell is neighboring a cancer cell, the T cell can recognize the antigen on the cancer cell and begin to kill it. Due to the time it takes to kill a cancer cell, both the T cell and the cancer cell are considered to be engaged and do not undergo other processes for the duration of killing [27]. Once the cancer cell dies, it is removed from simulation, and the T cell is free to continue killing, until it reaches the maximum number of cancer cells that it can kill, at which point the T cell becomes exhausted [27].

Initialization of simulation

Simulation starts with 25 cancer cells placed in the center of the lattice, representing the early growth of a tumor or a micrometastasis. A population of tissue-resident macrophages is randomly scattered throughout the remaining lattice sites. We consider the area surrounding the tumor to be vascularized enough to allow macrophages and T cells to be recruited there.

Model simulation steps and implementation

At each time step, we proceed through the following steps. First, we calculate the diffusion and secretion of diffusible factors for the duration of the time step. Then, we recruit more macrophages to the environment and proceed to iterate through each macrophage in the environment in a random order and allow them to carry out their various functions. We then repeat this for T cells. After this, we iterate through the cancer cells and allow them to proceed with their functions. Lastly, we remove all dead cells from the environment. The model was implemented in C++. The full model is available at: https://github.com/FinleyLabUSC/Early-TME-ABM-PLOS-Comp-Bio.

Treatment

As the focus of this study is on interactions between macrophages and T cells, we examine several macrophage-based therapies to see how they impact the ability of the T cells to remove the tumor. For each therapy, we vary the effectiveness, which was implemented as the fraction that the target parameter was reduced by. Treatments were chosen based on targets in the literature, with the two main strategies being to reduce the number of macrophages in the TME and to reeducate M2 macrophages to an M1 phenotype. The three therapies explored here are macrophage depletion, recruitment inhibition, and PI3K inhibition.

Treatment was implemented in two forms. The first was to simulate treatment continuously for the duration of the simulation. The second was to cycle the treatment, with treatment on for several days, then off for several days.

Recruitment inhibition

As described above, macrophages are recruited to the TME by chemokines such as CCL2. As many macrophages in the TME display an immunosuppressive M2 phenotype, it is thought that preventing macrophage recruitment would allow T cells to better be able to remove the tumor [15,16]. We implement targeting macrophage-recruiting chemokines by reducing the rate at which macrophages are recruited to the environment.

Macrophage depletion

Similar to recruitment inhibition, depletion of macrophages can be used to reduce the number of macrophages in the TME [15,16]. It is to be noted that both of these strategies fail to discriminate between M1 and M2 macrophages, thus also inhibiting the immune-promoting properties of M1 macrophages. We model macrophage depletion by giving the macrophages a probability of undergoing apoptosis at each timestep that treatment is on. When simulating continuous treatment, we decreased the range of depletion probabilities until we reached the point where the lowest probability fails to remove a large number of tumors so that we could compare ineffective levels of depletion to effective levels.

Macrophage reeducation

In order to prevent the elimination of immune-promoting M1 macrophages, reeducation of M2 macrophages into an M1 phenotype is a potential therapy. One noted target is inhibition of PI3K[15,16]. As this is present in the mechanistic model that was utilized for macrophage differentiation, we include variations in PI3K activity in the Monte Carlo simulations and have PI3K activity as an input to the neural network. Targeting this parameter allows us to redifferentiate the macrophages into an M1 phenotype. We simulate this treatment by reducing the value of the PI3K activity parameter.

Supporting information

S1 Fig. Results from the Latin Hypercube Sampling–tumor removal.

The fraction of tumors removed as a fraction of relevant tumor microenvironment parameters: macrophage recruitment rate, tumor IL-4 secretion rate, T cell IFN-γ secretion rate, tumor proliferation rate, M2 IL-4 secretion rate, and macrophage lifespan. With Latin Hypercube Sampling, parameter sets are sampled so that each parameter value appears only once. This is done for the sake of computational efficiency. Because only one parameter set was simulated for each parameter value, the plots are very discontinuous and do not show the average model behavior for each parameter value. Despite this, a clear trend is visible for macrophage recruitment rate.

(TIF)

S2 Fig. Results from the Latin Hypercube Sampling–final tumor cell count.

The final number of tumor cells is on the y-axis and the relevant parameters are on the x-axes (macrophage recruitment rate, tumor IL-4 secretion rate, T Cell IFN-γ secretion rate, tumor proliferation rate, M2 IL-4 secretion rate, and macrophage lifespan). Because only one parameter set was simulated for each parameter value, the plots are very discontinuous. However, a clear trend is visible for macrophage recruitment rate and macrophage lifespan. The maximum number of tumor cells here is 5,000 because we chose to end simulation when either maximum simulation time was reached, the tumor was eliminated, or tumor cell count reached 5,000. This is because at that number of tumor cells, there is much less space available for recruited immune cells, so their recruitment inherently decreases due to the nature of the model.

(TIF)

S3 Fig. Tumor growth curves without immune cells and without immune function.

Comparison of tumor growth curves when there are no immune cells present in the simulation and when immune cells are present but lack function. Because these curves are very similar, we conclude that spatial inhibition is not the cause of the equilibrium state seen without treatment. Simulations were done in replicates of 10.

(TIF)

S4 Fig. Impact of initial macrophage density.

Comparison of tumor curves and total macrophage curves for differing starting macrophage densities: 2x10-4 (blue), 2x10-3 (red, value used for rest of the simulations), and 2x10-2 (green) cells per site. Each density was simulated in replicates of 10. Plotted are the average time courses for those replicates.

(TIF)

S5 Fig. Individual time courses for macrophage depletion probability of 0.006 per timestep.

Tumors that were eliminated are shown in orange. (A) Cancer cells, (B) M0 macrophages, (C) M1 macrophages, (D) M2 macrophages, (E) T cells, (F) Active T cells, (G) Average IL-4, (H) maximum IL-4, (I) average IFN-γ, (J) Maximum IFN-γ.

(TIF)

S6 Fig. Individual time courses for macrophage depletion probability of 0.002 per timestep.

Tumors that survived to the end of simulation are shown in black. Tumors that were eliminated are shown in orange. (A) Cancer cells, (B) M0 macrophages, (C) M1 macrophages, (D) M2 macrophages, (E) T cells, (F) Active T cells, (G) Average IL-4, (H) maximum IL-4, (I) average IFN-γ, (J) Maximum IFN-γ.

(TIF)

S7 Fig. Individual time courses for recruitment inhibition of 0.7.

Tumors that survived to the end of simulation are shown in black. Tumors that were eliminated are shown in blue. (A) Cancer cells, (B) M0 macrophages, (C) M1 macrophages, (D) M2 macrophages, (E) T cells, (F) active T cells, (G) Average IL-4, (H) Maximum IL-4, (I) Average IFN-γ, (J) Maximum IFN-γ.

(TIF)

S8 Fig. Individual time courses for PI3K inhibition of 0.8.

Tumors that survived to the end of simulation are shown in black. Tumors that were eliminated are shown in green. (A) cancer cells, (B) M0 macrophages, (C) M1 macrophages, (D) M2 macrophages, (E) T cells, (F) active T cells, (G) Average IL-4, (H) Maximum IL-4, (I) Average IFN-γ, (J) Maximum IFN-γ.

(TIF)

S9 Fig. Effects of cycled immunotherapy started at 100 days of simulation at higher tumor proliferation.

For macrophage depletion (A), the fraction of macrophages removed at the beginning of each cycle is given as “Depletion Strength” and the length of each cycle is “Cycle Duration.” For recruitment inhibition (B) and PI3K inhibition (C), the number of days in the cycle that treatment is on for is given as “Days Treatment is On.” Recruitment inhibition is simulated at a strength of 1.0 (complete inhibition) and PI3K inhibition is simulated at a strength of 0.8. For recruitment inhibition and PI3K inhibition, spaces marked with an X are those where treatment-on time is equal or greater to the cycle duration, thus were not simulated. (i) fraction of tumors removed after starting therapy. (ii) time (days) from starting treatment to tumor removal. It is averaged over the 100 simulations and is equal to zero if no tumors were removed at that treatment level. (iii) maximum number of M1 macrophages. (iv) maximum number of total T cells. (v) maximum number of active T cells.

(TIF)

S10 Fig. Constant macrophage depletion started at 100 days with increased tumor proliferation rate.

(A) fraction of tumors removed after starting simulation, (B) average time needed to remove the tumor, (C) the maximum number of M1 macrophages, (D) the maximum number of total T cells, (E) the maximum number of active T cells. Note the differences in y-axis scales across treatment strategies. Asterisks signify that a result is statistically significant (p<0.01) from the result of the lowest treatment strength. We note that for the time needed to remove the tumor (B), plotted is the time averaged over only simulations where the tumor was removed. Therefore, while some bars may appear much higher than that of the lowest treatment strength, they only represent a small number of simulations out of 100 and thus were not found to be statistically significant.

(TIF)

S11 Fig. Constant recruitment inhibition started at 100 days with increased tumor proliferation rate.

(A) fraction of tumors removed after starting simulation, (B) average time needed to remove the tumor, (C) the maximum number of M1 macrophages, (D) the maximum number of total T cells, (E) the maximum number of active T cells. Note the differences in y-axis scales across treatment strategies. Asterisks signify that a result is statistically significant (p<0.01) from the result of the lowest treatment strength. We note that for the time needed to remove the tumor (B), plotted is the time averaged over only simulations where the tumor was removed. Therefore, while some bars may appear much higher than that of the lowest treatment strength, they only represent a small number of simulations out of 100 and thus were not found to be statistically significant.

(TIF)

S12 Fig. Constant recruitment inhibition started at 100 days with macrophage recruitment rate doubled.

(A) fraction of tumors removed after starting simulation, (B) average time needed to remove the tumor, (C) the maximum number of M1 macrophages, (D) the maximum number of total T cells, (E) the maximum number of active T cells. Note the differences in y-axis scales across treatment strategies. Asterisks signify that a result is statistically significant (p<0.01) from the result of the lowest treatment strength. We note that for the time needed to remove the tumor (B), plotted is the time averaged over only simulations where the tumor was removed. Therefore, while some bars may appear much higher than that of the lowest treatment strength, they only represent a small number of simulations out of 100 and thus were not found to be statistically significant.

(TIF)

S13 Fig. Constant PI3K inhibition started at 100 days with macrophage recruitment rate doubled.

(A) fraction of tumors removed after starting simulation, (B) average time needed to remove the tumor, (C) the maximum number of M1 macrophages, (D) the maximum number of total T cells, (E) the maximum number of active T cells. Note the differences in y-axis scales across treatment strategies. Asterisks signify that a result is statistically significant (p<0.01) from the result of the lowest treatment strength. We note that for the time needed to remove the tumor (B), plotted is the time averaged over only simulations where the tumor was removed. Therefore, while some bars may appear much higher than that of the lowest treatment strength, they only represent a small number of simulations out of 100 and thus were not found to be statistically significant.

(TIF)

S14 Fig. Effects of cycled immunotherapy started at 100 days of simulation at macrophage recruitment rate doubled.

For macrophage depletion (A), the fraction of macrophages removed at the beginning of each cycle is given as “Depletion Strength” and the length of each cycle is “Cycle Duration.” For recruitment inhibition (B) and PI3K inhibition (C), the number of days in the cycle that treatment is on for is given as “Days Treatment is On.” Recruitment inhibition is simulated at a strength of 1.0 (complete inhibition) and PI3K inhibition is simulated at a strength of 0.8. For recruitment inhibition and PI3K inhibition, spaces marked with an X are those where treatment-on time is equal or greater to the cycle duration, thus were not simulated. (i) fraction of tumors removed after starting therapy. (ii) time (days) from starting treatment to tumor removal. It is averaged over the 100 simulations and is equal to zero if no tumors were removed at that treatment level. (iii) maximum number of M1 macrophages. (iv) maximum number of total T cells. (v) maximum number of active T cells.

(TIF)

S15 Fig. Constant macrophage depletion started at 100 days with increased tumor proliferation and macrophage recruitment rates.

(A) fraction of tumors removed after starting simulation, (B) average time needed to remove the tumor, (C) the maximum number of M1 macrophages, (D) the maximum number of total T cells, (E) the maximum number of active T cells. Note the differences in y-axis scales across treatment strategies. Asterisks signify that a result is statistically significant (p<0.01) from the result of the lowest treatment strength. We note that for the time needed to remove the tumor (B), plotted is the time averaged over only simulations where the tumor was removed. Therefore, while some bars may appear much higher than that of the lowest treatment strength, they only represent a small number of simulations out of 100 and thus were not found to be statistically significant.

(TIF)

S16 Fig. Constant recruitment inhibition started at 100 days with increased tumor proliferation and macrophage recruitment rates.

(A) fraction of tumors removed after starting simulation, (B) average time needed to remove the tumor, (C) the maximum number of M1 macrophages, (D) the maximum number of total T cells, (E) the maximum number of active T cells. Note the differences in y-axis scales across treatment strategies. Asterisks signify that a result is statistically significant (p<0.01) from the result of the lowest treatment strength. We note that for the time needed to remove the tumor (B), plotted is the time averaged over only simulations where the tumor was removed. Therefore, while some bars may appear much higher than that of the lowest treatment strength, they only represent a small number of simulations out of 100 and thus were not found to be statistically significant.

(TIF)

S17 Fig. Cycling PI3K inhibition with increased tumor proliferation and macrophage recruitment rates.

The macrophage recruitment rate is doubled, and tumor proliferation rate increased to 1.2/day. (A) fraction of tumors removed after starting simulation, (B) average time needed to remove the tumor, (C) the maximum number of M1 macrophages, (D) the maximum number of total T cells, (E) the maximum number of active T cells

(TIF)

S18 Fig. Cycling recruitment inhibition with increased tumor proliferation and macrophage recruitment rates.

The macrophage recruitment rate is doubled, and tumor proliferation rate increased to 1.2/day. (A) fraction of tumors removed after starting simulation, (B) average time needed to remove the tumor, (C) the maximum number of M1 macrophages, (D) the maximum number of total T cells, (E) the maximum number of active T cells

(TIF)

S1 Table. Model Parameters.

Parameter values, with supporting references. For the tumor division time and macrophage recruitment rate parameters, values shown in parentheses are the increased values used for certain simulations, as described in the Results.

(DOCX)

Acknowledgments

The authors thank members of the Finley research group for critical comments and suggestions.

Data Availability

Github: https://github.com/FinleyLabUSC/Early-TME-ABM-PLOS-Comp-Bio.

Funding Statement

This work was supported by the USC Viterbi/Graduate School Merit Fellowship to CGC (http://graduateschool.usc.edu) and the USC Center for Computational Modeling of Cancer (http://modelingcancer.usc.edu). The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.”

References

  • 1.Hanahan D, Coussens LM. Accessories to the crime: functions of cells recruited to the tumor microenvironment. Cancer Cell. 2012;21(3):309–322. 10.1016/j.ccr.2012.02.022 [DOI] [PubMed] [Google Scholar]
  • 2.Whiteside T. The tumor microenvironment and its role in promoting tumor growth. Oncogene. 2008;27(45):5904–5912. 10.1038/onc.2008.271 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 3.Kim R. Cancer immunoediting: from immune surveillance to immune escape In: Cancer Immunotherapy. Elsevier; 2007. p. 9–27. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 4.Esfahani K, Roudaia L, Buhlaiga N, Del Rincon S, Papneja N, Miller W Jr. A review of cancer immunotherapy: from the past, to the present, to the future. Curr Oncol. 2020;27(Suppl 2):S87 10.3747/co.27.5223 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 5.Menon S, Shin S, Dy G. Advances in cancer immunotherapy in solid tumors. Cancers. 2016;8(12):106 10.3390/cancers8120106 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 6.Pan C, Liu H, Robins E, Song W, Liu D, Li Z, et al. Next-generation immuno-oncology agents: current momentum shifts in cancer immunotherapy. J Hematol OncolJ Hematol Oncol. 2020;13:1–15. 10.1186/s13045-020-00862-w [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 7.Nixon N, Blais N, Ernst S, Kollmannsberger C, Bebb G, Butler M, et al. Current landscape of immunotherapy in the treatment of solid tumours, with future opportunities and challenges. Curr Oncol. 2018;25(5):e373 10.3747/co.25.3840 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 8.Li X, Shao C, Shi Y, Han W. Lessons learned from the blockade of immune checkpoints in cancer immunotherapy. J Hematol OncolJ Hematol Oncol. 2018;11(1):1–26. 10.1186/s13045-018-0578-4 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 9.Cassetta L, Kitamura T. Targeting tumor-associated macrophages as a potential strategy to enhance the response to immune checkpoint inhibitors. Front Cell Dev Biol. 2018;6:38 10.3389/fcell.2018.00038 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 10.Chanmee T, Ontong P, Konno K, Itano N. Tumor-associated macrophages as major players in the tumor microenvironment. Cancers. 2014;6(3):1670–1690. 10.3390/cancers6031670 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 11.Petty AJ, Yang Y. Tumor-associated macrophages: implications in cancer immunotherapy. Immunotherapy. 2017;9(3):289–302. 10.2217/imt-2016-0135 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 12.Xue J, Schmidt SV, Sander J, Draffehn A, Krebs W, Quester I, et al. Transcriptome-based network analysis reveals a spectrum model of human macrophage activation. Immunity. 2014;40(2):274–288. 10.1016/j.immuni.2014.01.006 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 13.Ramanathan S, Jagannathan N. Tumor associated macrophage: a review on the phenotypes, traits and functions. Iran J Cancer Prev. 2014;7(1):1 [PMC free article] [PubMed] [Google Scholar]
  • 14.Noy R, Pollard JW. Tumor-associated macrophages: from mechanisms to therapy. Immunity. 2014;41(1):49–61. 10.1016/j.immuni.2014.06.010 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 15.Guerriero JL. Macrophages: the road less traveled, changing anticancer therapy. Trends Mol Med. 2018;24(5):472–489. 10.1016/j.molmed.2018.03.006 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 16.Li X, Liu R, Su X, Pan Y, Han X, Shao C, et al. Harnessing tumor-associated macrophages as aids for cancer immunotherapy. Mol Cancer. 2019;18(1):1–16. 10.1186/s12943-018-0930-x [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 17.Thompson ED, Enriquez HL, Fu Y-X, Engelhard VH. Tumor masses support naive T cell infiltration, activation, and differentiation into effectors. J Exp Med. 2010;207(8):1791–1804. 10.1084/jem.20092454 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 18.Maimela NR, Liu S, Zhang Y. Fates of CD8+ T cells in tumor microenvironment. Comput Struct Biotechnol J. 2019;17:1–13. 10.1016/j.csbj.2018.11.004 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 19.Farhood B, Najafi M, Mortezaee K. CD8+ cytotoxic T lymphocytes in cancer immunotherapy: A review. J Cell Physiol. 2019;234(6):8509–8521. 10.1002/jcp.27782 [DOI] [PubMed] [Google Scholar]
  • 20.Spranger S, Koblish HK, Horton B, Scherle PA, Newton R, Gajewski TF. Mechanism of tumor rejection with doublets of CTLA-4, PD-1/PD-L1, or IDO blockade involves restored IL-2 production and proliferation of CD8+ T cells directly within the tumor microenvironment. J Immunother Cancer. 2014;2(1):3 10.1186/2051-1426-2-3 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 21.Wherry EJ, Kurachi M. Molecular and cellular insights into T cell exhaustion. Nat Rev Immunol. 2015;15(8):486–499. 10.1038/nri3862 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 22.Facciabene A, Motz GT, Coukos G. T-regulatory cells: key players in tumor immune escape and angiogenesis. Cancer Res. 2012;72(9):2162–2171. 10.1158/0008-5472.CAN-11-3687 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 23.Yost KE, Satpathy AT, Wells DK, Qi Y, Wang C, Kageyama R, et al. Clonal replacement of tumor-specific T cells following PD-1 blockade. Nat Med. 2019;25(8):1251–1259. 10.1038/s41591-019-0522-3 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 24.Rohaan MW, Wilgenhof S, Haanen JB. Adoptive cellular therapies: the current landscape. Virchows Arch. 2019;474(4):449–461. 10.1007/s00428-018-2484-0 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 25.Makaryan SZ, Cess CG, Finley SD. Modeling immune cell behavior across scales in cancer. Wiley Interdiscip Rev Syst Biol Med. 2020;12(4):e1484 10.1002/wsbm.1484 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 26.Gong C, Milberg O, Wang B, Vicini P, Narwal R, Roskos L, et al. A computational multiscale agent-based model for simulating spatio-temporal tumour immune response to PD1 and PDL1 inhibition. J R Soc Interface. 2017;14(134):20170320 10.1098/rsif.2017.0320 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 27.Kather JN, Poleszczuk J, Suarez-Carmona M, Krisam J, Charoentong P, Valous NA, et al. In silico modeling of immunotherapy and stroma-targeting therapies in human colorectal cancer. Cancer Res. 2017;77(22):6442–6452. 10.1158/0008-5472.CAN-17-2006 [DOI] [PubMed] [Google Scholar]
  • 28.Kim PS, Lee PP. Modeling protective anti-tumor immunity via preventative cancer vaccines using a hybrid agent-based and delay differential equation approach. PLoS Comput Biol. 2012;8(10):e1002742 10.1371/journal.pcbi.1002742 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 29.Wells DK, Chuang Y, Knapp LM, Brockmann D, Kath WL, Leonard JN. Spatial and functional heterogeneities shape collective behavior of tumor-immune networks. PLoS Comput Biol. 2015;11(4):e1004181 10.1371/journal.pcbi.1004181 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 30.Mahlbacher G, Curtis LT, Lowengrub J, Frieboes HB. Mathematical modeling of tumor-associated macrophage interactions with the cancer microenvironment. J Immunother Cancer. 2018;6(1):1–17. 10.1186/s40425-017-0311-9 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 31.El-Kenawi A, Gatenbee C, Robertson-Tessi M, Bravo R, Dhillon J, Balagurunathan Y, et al. Acidity promotes tumour progression by altering macrophage phenotype in prostate cancer. Br J Cancer. 2019;1–11. 10.1038/s41416-019-0542-2 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 32.Knutsdottir H, Condeelis JS, Palsson E. 3-D individual cell based computational modeling of tumor cell–macrophage paracrine signaling mediated by EGF and CSF-1 gradients. Integr Biol. 2016;8(1):104–119. 10.1039/c5ib00201j [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 33.Knútsdóttir H, Pálsson E, Edelstein-Keshet L. Mathematical model of macrophage-facilitated breast cancer cells invasion. J Theor Biol. 2014;357:184–199. 10.1016/j.jtbi.2014.04.031 [DOI] [PubMed] [Google Scholar]
  • 34.Norton K-A, Jin K, Popel AS. Modeling triple-negative breast cancer heterogeneity: Effects of stromal macrophages, fibroblasts and tumor vasculature. J Theor Biol. 2018;452:56–68. 10.1016/j.jtbi.2018.05.003 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 35.Folcik VA, An GC, Orosz CG. The Basic Immune Simulator: an agent-based model to study the interactions between innate and adaptive immunity. Theor Biol Med Model. 2007;4(1):39. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 36.Jayasingam SD, Citartan M, Thang TH, Zin AAM, Ang KC, Ch’ng ES. Evaluating the polarization of tumor-associated macrophages into M1 and M2 phenotypes in human cancer tissue: technicalities and challenges in routine clinical practice. Front Oncol. 2019;9 10.3389/fonc.2019.01512 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 37.Nywening TM, Wang-Gillam A, Sanford DE, Belt BA, Panni RZ, Cusworth BM, et al. Targeting tumour-associated macrophages with CCR2 inhibition in combination with FOLFIRINOX in patients with borderline resectable and locally advanced pancreatic cancer: a single-centre, open-label, dose-finding, non-randomised, phase 1b trial. Lancet Oncol. 2016;17(5):651–662. 10.1016/S1470-2045(16)00078-4 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 38.Germano G, Frapolli R, Belgiovine C, Anselmo A, Pesce S, Liguori M, et al. Role of macrophage targeting in the antitumor activity of trabectedin. Cancer Cell. 2013;23(2):249–262. 10.1016/j.ccr.2013.01.008 [DOI] [PubMed] [Google Scholar]
  • 39.Kaneda MM, Cappello P, Nguyen AV, Ralainirina N, Hardamon CR, Foubert P, et al. Macrophage PI3Kγ drives pancreatic ductal adenocarcinoma progression. Cancer Discov. 2016;6(8):870–885. 10.1158/2159-8290.CD-15-1346 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 40.Hao S-J, Wan Y, Xia Y-Q, Zou X, Zheng S-Y. Size-based separation methods of circulating tumor cells. Adv Drug Deliv Rev. 2018;125:3–20. 10.1016/j.addr.2018.01.002 [DOI] [PubMed] [Google Scholar]
  • 41.Zhao C, Mirando AC, Sové RJ, Medeiros TX, Annex BH, Popel AS. A mechanistic integrative computational model of macrophage polarization: Implications in human pathophysiology. PLoS Comput Biol. 2019;15(11):e1007468 10.1371/journal.pcbi.1007468 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 42.Bhat P, Leggatt G, Waterhouse N, Frazer IH. Interferon-γ derived from cytotoxic lymphocytes directly enhances their motility and cytotoxicity. Cell Death Dis. 2017;8(6):e2836–e2836. 10.1038/cddis.2017.67 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 43.Mantovani A, Allavena P, Sozzani S, Vecchi A, Locati M, Sica A. Chemokines in the recruitment and shaping of the leukocyte infiltrate of tumors In: Seminars in cancer biology. Elsevier; 2004. p. 155–160. 10.1016/j.semcancer.2003.10.001 [DOI] [PubMed] [Google Scholar]
  • 44.Biswas SK, Mantovani A. Macrophage plasticity and interaction with lymphocyte subsets: cancer as a paradigm. Nat Immunol. 2010;11(10):889–896. 10.1038/ni.1937 [DOI] [PubMed] [Google Scholar]
  • 45.Cess CG, Finley SD. Data-driven analysis of a mechanistic model of CAR T cell signaling predicts effects of cell-to-cell heterogeneity. J Theor Biol. 2020;489:110125 10.1016/j.jtbi.2019.110125 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 46.Abadi M, Agarwal A, Barham P, Brevdo E, Chen Z, Citro C, et al. TensorFlow: Large-scale machine learning on heterogeneous systems. 2015; [Google Scholar]
  • 47.Guerriero JL. Macrophages: their untold story in T cell activation and function In: International Review of Cell and Molecular Biology. Elsevier; 2019. p. 73–93. 10.1016/bs.ircmb.2018.07.001 [DOI] [PubMed] [Google Scholar]
  • 48.Oishi S, Takano R, Tamura S, Tani S, Iwaizumi M, Hamaya Y, et al. M2 polarization of murine peritoneal macrophages induces regulatory cytokine production and suppresses T-cell proliferation. Immunology. 2016;149(3):320–328. 10.1111/imm.12647 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 49.DeNardo DG, Ruffell B. Macrophages as regulators of tumour immunity and immunotherapy. Nat Rev Immunol. 2019;19(6):369–382. 10.1038/s41577-019-0127-6 [DOI] [PMC free article] [PubMed] [Google Scholar]
PLoS Comput Biol. doi: 10.1371/journal.pcbi.1008519.r001

Decision Letter 0

Jason A Papin, Kathryn Miller-Jensen

17 Sep 2020

Dear Dr. Finley,

Thank you very much for submitting your manuscript "Multi-scale modeling of macrophage – T cell interactions within the tumor microenvironment and impacts of macrophage-based immunotherapies" for consideration at PLOS Computational Biology.

As with all papers reviewed by the journal, your manuscript was reviewed by members of the editorial board and by several independent reviewers. In light of the reviews (below this email), we would like to invite the resubmission of a significantly-revised version that takes into account the reviewers' comments.

The reviewers all agree that the work presents an innovative model to address the significant problem of cancer immunotherapy. The reviewers further agree that the results provide useful insights into treatment outcomes, and that overall the paper is well written. However, each individual reviewer raises different comments and questions about specific aspects of the data and figures, and therefore we ask that you address these as appropriate in a revision.

We cannot make any decision about publication until we have seen the revised manuscript and your response to the reviewers' comments. Your revised manuscript is also likely to be sent to reviewers for further evaluation.

When you are ready to resubmit, please upload the following:

[1] A letter containing a detailed list of your responses to the review comments and a description of the changes you have made in the manuscript. Please note while forming your response, if your article is accepted, you may have the opportunity to make the peer review history publicly available. The record will include editor decision letters (with reviews) and your responses to reviewer comments. If eligible, we will contact you to opt in or out.

[2] Two versions of the revised manuscript: one with either highlights or tracked changes denoting where the text has been changed; the other a clean version (uploaded as the manuscript file).

Important additional instructions are given below your reviewer comments.

Please prepare and submit your revised manuscript within 60 days. If you anticipate any delay, please let us know the expected resubmission date by replying to this email. Please note that revised manuscripts received after the 60-day due date may require evaluation and peer review similar to newly submitted manuscripts.

Thank you again for your submission. We hope that our editorial process has been constructive so far, and we welcome your feedback at any time. Please don't hesitate to contact us if you have any questions or comments.

Sincerely,

Kathryn Miller-Jensen

Associate Editor

PLOS Computational Biology

Jason Papin

Editor-in-Chief

PLOS Computational Biology

***********************

Reviewer's Responses to Questions

Comments to the Authors:

Please note here if the review is uploaded as an attachment.

Reviewer #1: This well-written paper presents an interesting modeling study of macrophage and T cells interactions in the tumor microenvironment. The methods are clearly explained and the conclusions follow from the results. However, the figures and the figure captions seem to be mismatched.

o Fig 1: caption mentions green dots (M0 macrophages), but figure does not seem to have green dots. The figure, however, seems to show blue dots.

o Fig 2: caption mentions red for tumors removed, but there seems to be no red in the figure (or perhaps it is barely visible?)

o Fig 3: caption mentions A, B, and C, as well as i, ii, iii, and iv, but none of these labels are in the figure. Further, most of the results do not seem to show statistically significant differences. Could the results perhaps be summarized more succinctly?

o Fig 5: caption mentions tumors that survived to be in black color, yet none are shown in the figure. Further, many of the orange tumor sequences seem to be essentially the same as in Fig 4. Is there a need to show Fig 5 or can the results be stated in words?

o Fig 6: caption mentions A, B, and C, as well as i, ii, iii, and iv, but none of these labels are in the figure. Further, the panels do not seem to match what the caption is saying (or if it is, it seems confusing). The units for the colors should be given.

o Fig 9: caption mentions A, B, and C, as well as i, ii, iii, and iv, but none of these labels are in the figure. Most panels seem to show non-significant differences.

o Fig 12: red lines are barely visible.

o Fig 13: units for color scales should be given

Lastly, for those results that are statistically significant, comparisons with appropriate statistics would help to interpret the differences, especially given the stochastic nature of the studies.

Reviewer #2: Reproducibility report has been uploaded as an attachment.

Reviewer #3: In this study, the authors develop a hybrid, multi-scale agent-based model of the tumor microenvironment (TME) that includes cancer, macrophage, and T-cell agents and three soluble factors. The model captures complex interactions and exhibits emergent dynamics without overly complicated descriptions. Overall, this study is elegantly simplistic, in that it asks and answers specific questions, which the model is no more or less complex than it needs to be. This work generates useful and practical conclusions about potential treatments with these therapies, and it builds nicely upon prior work in this area. This work is likely to be of interest to the systems biology community, as well much broader cancer immunotherapy audiences. There are several overall and specific concerns that should be addressed prior to publication:

1. The manuscript would benefit from additional discussion, speculation, or insight to help interpret some of the unintuitive results, such as why moderate treatment was preferred in cases where tumor proliferation and macrophage recruitment rates were both increased.

2. Please be more explicit when supporting the claim that previously reported experimental results are comparable to the results found here. How do those experimental setups compare to the model used here? Did these experiments take place in a tissue with vasculature or in a dish? Were there nutrient limitations? Please describe exactly which trends and observations are used as model validation or verification in this study.

3. The use of the neural net to avoid explicitly model intracellular signaling is innovative and interesting. However, no data nor analysis is presented to validate this model simplification; this gap should be addressed.

4. One limitation of the model seems to be the lack of accounting for nutrients or nutrient limitations, which cause common features of tumors such as hypoxia and necrotic cores. While the authors do not necessarily need to add this phenomenon to their model, this should be discussed as a limitation, and artifacts arising from this choice should be considered.

5. Related to the last point, it would be worth investigating whether the factors that limit tumor growth are truly immunological control vs. nutrient limitation, space limitation, etc. It does not seem obvious that a rather arbitrarily parameterized model would yield a scenario in which immune control is achieved.

6. If each lattice site fits one agent, this is concerning because cancer cells have a far larger volume than do T-cells, and it is possible that this could impact both replication and motility. The authors must provide argument or evidence that this isn’t a problem.

7. It would be interesting to see an analysis of the spatial distribution of the cell types throughout the simulation. Treating solid tumors is complicated because it can be difficult for immune cells to penetrate the tumor core. An analysis like this would be useful in showing that the model has the capability to collect data that is difficult to collect in vitro or in vivo but that is relevant, important, and interesting.

8. Please clarify how treatment cycling, as modeled here, relates to clinical scenarios of relevance to patient treatment practices. Is this simply a matter of patient compliance or is there more to this phenomenon?

9. The authors mention that for constant vs cycled treatment, they change the probability of macrophage recruitment in order to avoid complete depletion of macrophages in the constant treatment case. This raises concerns about making a fair comparison between continuous vs cycled treatment, as this probability change introduces bias. Please justify why this comparison is fair; the given statement “If it were as the same strength in both cases, the constant treatment would basically get treated immediately” is insufficiently precise.

10. The authors report “data not shown” for a few data sets, concerning treatment of specifically altered types of tumors; these data are interesting and should be included in the supplement.

11. In one part of this study, there seems to be a gap in the analysis presented. It would be helpful to evaluate PI3K treatment efficacy in the case where only macrophage recruitment rate in the tumor was changed, since this treatment was evaluated for tumors with only tumor proliferation rate altered or with both tumor proliferation rate and macrophage recruitment rate changed. This, the suggested evaluation seems like a missing case/control.

12. Showing the PI3K inhibition data for tumors with both tumor proliferate rate and macrophage recruitment rate altered (Fig 9B) far before discussing these data is confusing; it might be more clear if these data were moved to later to match the text.

13. The figures and data presentation could be substantially improved by considering a few general suggestions:

a. Include labels within figures to annotate panels/columns and scale bars (i.e., tumor removal, cancer cell count, etc.) to indicate what is being measured without requiring the reader to consult the figure caption

b. Normalizing scale bars and graph axes that measure the same thing across treatment types would make it easier to compare outcomes across treatments

14. In general, presenting simulation results as a series of trajectories provides a nice way to view the distribution of outcomes within any one panel. However, it does not enable one to evaluate the correlations/relationships between the data presented in any two (or more) panels. Would it be possible to include more rigorous calculations to evaluate such relationships (e.g., to back up or test statements such as “outcome X tends to occur when behavior Y is observed”, or to evaluate positive and negative correlations described in the text)?

15. Have you considered running a simulation without immune cells to evaluate the baseline dynamics of tumor size and immune-independent phenomena? This base case could enable comparison with some experimental systems that match this scenario.

Specific comments:

Line 56: Please clarify (up front) that macrophage functional polarization, while useful at a conceptual level, actually represents a continuum of phenotypes rather than discrete M1 vs M2 categorical distinctions. This is discussed at the end the paper but should be noted here, too.

Line 72-73: The authors note one cause of T-cell exhaustion. However, for completeness it may be useful to mention that T-cell exhaustion is also caused by excessive and continuous stimulation, not just checkpoint proteins.

Wherry, E. J., & Kurachi, M. (2015). Molecular and cellular insights into T cell exhaustion. Nature Reviews Immunology, 15(8), 486–499. https://doi.org/10.1038/nri3862

It is possible that the phenomenon of exhaustion is captured by M2 macrophages preventing neighboring T-cells from becoming active. What happens to T-cells after they reach their 5 kill max limit? Is that supposed to be T-cell exhaustion? The authors should be clearer about how/whether their model describes T-cell exhaustion.

Line 80: It could be worth noting that more recent findings suggest that blocking inhibitory signals does not actually recover exhausted T-cells but it might help new T-cells infiltrate the tumor and prevent them from becoming exhausted.

Yost, K. E., Satpathy, A. T., Wells, D. K., Qi, Y., Wang, C., Kageyama, R., … Chang, H. Y. (2019). Clonal replacement of tumor-specific T cells following PD-1 blockade. Nature Medicine, 25(8), 1251–1259. https://doi.org/10.1038/s41591-019-0522-3

Line 116: Consider noting and discussing the following ABM paper, which includes many cell types interacting at a site of infection (not necessarily a tumor, but might be worth noting)

Folcik, V. a, An, G. C., & Orosz, C. G. (2007). The Basic Immune Simulator: an agent-based model to study the interactions between innate and adaptive immunity. Theoretical Biology & Medical Modelling, 4, 39. https://doi.org/10.1186/1742-4682-4-39

Line 165: Figure S1: Please elaborate upon the statement that the parameters besides macrophage recruitment rate seem to have sharp peaks in seemingly random places; why might this be the case?

Line 170: “TAMS” should be “TAMs”

Line 182: Please briefly explain why T cells are introduced at a specific timepoint (this is also not clear from the model description).

Line 182: 350 cells seems like a very small tumor. What is the total area/volume this tumor covers? 4000 molecules of IL-4 also seems somewhat small? Given the number of macrophages, it seems like this would be higher? The authors should consider justifying the number of each cell types or at least relative fractions of each that the model finds as an outcome as part of model validation.

Line 202: “effects” should be “affects” since it’s the verb

Line 213: To clarify, does this treatment remove macrophages of each kind (M0, M1,M2) with equal probability? This was later discussed but it would be useful to clarify here where it is defined.

Line 214: “s-axis” should probably be “x-axis”

Line 213-225: These data require a bit more investigation. It is not clear how increasing the depletion probability from 0.001 to 0.002 yields a dramatic increase in tumors removed while conferring no discernible impact on the max number of M1 cells or the max number of activated T cells. The authors appropriately avoid drawing a strong conclusion, but even the general mechanism proposed does not explain this initial sharp rise. Is it possible that this phenomenon arises due to competition for space on the lattice?

Line 219: Can this be called biphasic, given the error? The term biphasic is a bit too strong of a claim and doesn’t add to your argument.

Line 282: Could you do a spatial analysis to try to prove or disprove this claim? For example, is it possible (or useful) to compare spatial distributions of each cell type between cases where the tumor is eliminated vs. not?

Line 284: Why do you think that no M1s appear here in this treatment but do appear in the depletion treatment if both treatments have the overall effect of lowering the number of macrophages in the simulation? Please clarify this reasoning.

Line 291: The claim that PI3K inhibition showed the fastest removal time seems to be too strong as that only seems to be the case for one of the bars shown; otherwise, column B seems to have faster removal times on average for cases where the treatment was effective. However, this comparison is difficult to make visually because the axes all have different ranges. Please scale the axes to have the same range and max (across rows) for easier visual comparison (or at least in all the ii graphs).

Line 418: Where is the data for cycling PI3K inhibition? Please add a figure citation.

Line 422: Where is the data for PI3K inhibition for tumors with macrophage recruitment rate doubled and unchanged tumor proliferation rate? Please add a figure citation.

Line 445: The claim that this response in 11C is biphasic does not seem justified, as it seems too strong. It could easily be a left-shifted single peak.

Line 456: In the sentence “behave similarly to that case”, to what does “that” refer? This behavior appears to be a mix of the behaviors seen in the increased tumor proliferation only case and the increased macrophage recruitment rate only case.

Line 473: These data would be useful to show in the supplement, since a key goal of this paper is investigating how these treatments work across tumor types (i.e., tumors with varying parameters).

Like 497: It would be nice to show this result (treatment efficacy vs. equilibrium state) on a graph for each treatment type.

Line 617: How many macrophages are initialized in the tumor at the start of a simulation? This is not clearly defined in the methods and should be for the purpose of reproducibility and clarity. Additionally, if the authors have not done so already, please consider evaluating how changing this number impacts treatment outcomes.

Fig. 1B: It is very hard to see the green color with the gray background. Please also consider recoloring to accommodate readers who are red/green color blind.

Fig. 3: It seems that “Inhibition Strength” on the x-axes in Fig 3C’s are different than the “Inhibition Strength” on Fig 3B’s, but the authors might want to indicate that in some way (ex: “PI3K Inhibition Strength”); it’s currently confusing. This could be further clarified by the general suggestion to add labeling within figure/columns.

Fig. 6: Please label the scale bars on the figure. It would be useful to scale the color bars which depict the same quantity to be consistent across any one row.

Fig. 7: Why are there distinct groups of tumors that respond in qualitatively similar ways but at different times? The authors should attempt an explanation of this observation, and it would be interesting even if it were simply speculation.

Reviewer #4: This paper describes the development and use of an agent-based computational model to explore novel macrophage-based immunotherapy strategies for treating cancer. The paper is very well written and the data support the conclusions. The topic of cancer immunotherapy is timely and the authors’ use of a computational model to offer new insight into therapeutic strategies that do not yet exist is an elegantly practical deployment of this modeling approach that provides the field with a way to move beyond “thought experiment” and into the realm of “quantitative prediction”. The overarching modeling approach are innovative, particularly in its deployment of a neural network to reduce computational complexity of the intracellular signaling component of the simulation. I think readers of this journal will find the paper to be a substantial contribution; however, I have some suggestions for consideration that could elevate the impact and improve the credibility of the model.

1. The title is a bit long and ambiguous...”and impacts of macrophage-based immunotherapies [on what?]”

2. Line 214 refers to “s-axis”, presumably this is a typo and the authors mean “x-axis”.

3. Line 220 the authors state that the biphasic response in the maximum number of M1 macrophages is due to a decrease in IL-4 as tumor cells and M2 macrophages are removed, and it would be helpful to show plots of IL-4 to substantiate this claim.

4. Line 282 refers to spatial stochasticities but it is not clear to what extent the spatial nature of the model impacts the outcomes/predictions.

5. The focus of the paper is on predicting and evaluating the impact of adjusting macrophage dynamics, but a helpful “control” (counter-point) simulation would be to adjust T-cell numbers/dynamics.

6. Line 393 refers to “equilibrium state”, but it is not clear how the authors define this state. Line 496 refers to “equilibrium phase” – is this the same thing as “equilibrium state”?

7. The authors offer no attempt at model validation with independent experimental data and if it were possible to benchmark at least some of the predictions to experiments that would strengthen the credibility of the model.

**********

Have all data underlying the figures and results presented in the manuscript been provided?

Large-scale datasets should be made available via a public repository as described in the PLOS Computational Biology data availability policy, and numerical data that underlies graphs or summary statistics should be provided in spreadsheet form as supporting information.

Reviewer #1: Yes

Reviewer #2: None

Reviewer #3: No: Some of the data are listed as “data not shown,” but they should be included, as noted in comments to authors.

Reviewer #4: Yes

**********

PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy.

Reviewer #1: No

Reviewer #2: No

Reviewer #3: No

Reviewer #4: No

Figure Files:

While revising your submission, please upload your figure files to the Preflight Analysis and Conversion Engine (PACE) digital diagnostic tool, https://pacev2.apexcovantage.com. PACE helps ensure that figures meet PLOS requirements. To use PACE, you must first register as a user. Then, login and navigate to the UPLOAD tab, where you will find detailed instructions on how to use the tool. If you encounter any issues or have any questions when using PACE, please email us at figures@plos.org.

Data Requirements:

Please note that, as a condition of publication, PLOS' data policy requires that you make available all data used to draw the conclusions outlined in your manuscript. Data must be deposited in an appropriate repository, included within the body of the manuscript, or uploaded as supporting information. This includes all numerical values that were used to generate graphs, histograms etc.. For an example in PLOS Biology see here: http://www.plosbiology.org/article/info%3Adoi%2F10.1371%2Fjournal.pbio.1001908#s5.

Reproducibility:

To enhance the reproducibility of your results, PLOS recommends that you deposit laboratory protocols in protocols.io, where a protocol can be assigned its own identifier (DOI) such that it can be cited independently in the future. For instructions, please see http://journals.plos.org/compbiol/s/submission-guidelines#loc-materials-and-methods

Attachment

Submitted filename: Reproducible_report_PCOMPBIOL_D_20_01387.pdf

PLoS Comput Biol. doi: 10.1371/journal.pcbi.1008519.r003

Decision Letter 1

Jason A Papin, Kathryn Miller-Jensen

11 Nov 2020

Dear Dr. Finley,

We are pleased to inform you that your manuscript 'Multi-scale modeling of macrophage – T cell interactions within the tumor microenvironment' has been provisionally accepted for publication in PLOS Computational Biology.

Reviewer 3 had some additional suggestions that I urge you to consider prior to submitting the final version of your paper (comments appended below). However, I do not think these require additional review and so I will leave these revisions to your discretion.

Before your manuscript can be formally accepted you will need to complete some formatting changes, which you will receive in a follow up email. A member of our team will be in touch with a set of requests.

Please note that your manuscript will not be scheduled for publication until you have made the required changes, so a swift response is appreciated.

IMPORTANT: The editorial review process is now complete. PLOS will only permit corrections to spelling, formatting or significant scientific errors from this point onwards. Requests for major changes, or any which affect the scientific understanding of your work, will cause delays to the publication date of your manuscript.

Should you, your institution's press office or the journal office choose to press release your paper, you will automatically be opted out of early publication. We ask that you notify us now if you or your institution is planning to press release the article. All press must be co-ordinated with PLOS.

Thank you again for supporting Open Access publishing; we are looking forward to publishing your work in PLOS Computational Biology. 

Best regards,

Kathryn Miller-Jensen, Ph.D.

Associate Editor

PLOS Computational Biology

Jason Papin, Ph.D.

Editor-in-Chief

PLOS Computational Biology

***********************************************************

Reviewer's Responses to Questions

Comments to the Authors:

Please note here if the review is uploaded as an attachment.

Reviewer #1: Thank you for addressing the reviewers' feedback.

Reviewer #3: General Comments:

The authors did a thorough job of addressing the concerns in the first round of revisions, and the manuscript has been substantially improved. There are a few minor overall and specific concerns that should be addressed prior to publication:

1. The terms “macrophage reeducation” and “PI3K inhibition” are used interchangeably/inconsistently, which could be confusing to readers. Please use only one of the terms for consistency, or alternatively, be clear as to how these terms are to be uniquely employed. Incidents include:

a. Page 30, line 308

b. Page 32, Line 354

c. Page 34, Line 410

2. The authors mention that when comparing constant vs. cycled treatment, in the constant treatment case *only*, they change the probability of macrophage recruitment in order to avoid complete depletion of macrophages. This therefore seems like this is an unfair comparison between these treatment strategies, because in reality, two variables are being changed—both frequency of treatment and strength of treatment. The response provided by the authors after the first round of review is helpful for understanding the choices made from a computational standpoint, but this does not address the aforementioned concern about the way this comparison is presented.

Specific comments:

Page 19, Line 75 – remove the word “from” after cytokine (if this is a typo, as it seems).

Page 26, Line 221 – this is the first time that “reeducation” has been written with a hyphen. Please be consistent with hyphenation of this term.

Page 33, Line 373 – The authors say that the observation on the heat map (Fig. 4, Biii) is a “rare stochastic occurrence”. This raises the question of how many replicates are represented by the heat map? If it is only one, the authors should do a few and average them. If it is the average of many replicates already, then it doesn’t seem like just a random stochastic phenomenon, but more like an emergent trend. Please clarify which is the case.

Page 46, Line 683 – Insert a comma after the word “IFN-γ” and before the word “which”

Reviewer #4: The authors have adequately addressed my initial concerns.

**********

Have all data underlying the figures and results presented in the manuscript been provided?

Large-scale datasets should be made available via a public repository as described in the PLOS Computational Biology data availability policy, and numerical data that underlies graphs or summary statistics should be provided in spreadsheet form as supporting information.

Reviewer #1: Yes

Reviewer #3: Yes

Reviewer #4: Yes

**********

PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy.

Reviewer #1: No

Reviewer #3: No

Reviewer #4: No

PLoS Comput Biol. doi: 10.1371/journal.pcbi.1008519.r004

Acceptance letter

Jason A Papin, Kathryn Miller-Jensen

9 Dec 2020

PCOMPBIOL-D-20-01387R1

Multi-scale modeling of macrophage – T cell interactions within the tumor microenvironment

Dear Dr Finley,

I am pleased to inform you that your manuscript has been formally accepted for publication in PLOS Computational Biology. Your manuscript is now with our production department and you will be notified of the publication date in due course.

The corresponding author will soon be receiving a typeset proof for review, to ensure errors have not been introduced during production. Please review the PDF proof of your manuscript carefully, as this is the last chance to correct any errors. Please note that major changes, or those which affect the scientific understanding of the work, will likely cause delays to the publication date of your manuscript.

Soon after your final files are uploaded, unless you have opted out, the early version of your manuscript will be published online. The date of the early version will be your article's publication date. The final article will be published to the same URL, and all versions of the paper will be accessible to readers.

Thank you again for supporting PLOS Computational Biology and open-access publishing. We are looking forward to publishing your work!

With kind regards,

Nicola Davies

PLOS Computational Biology | Carlyle House, Carlyle Road, Cambridge CB4 3DN | United Kingdom ploscompbiol@plos.org | Phone +44 (0) 1223-442824 | ploscompbiol.org | @PLOSCompBiol

Associated Data

    This section collects any data citations, data availability statements, or supplementary materials included in this article.

    Supplementary Materials

    S1 Fig. Results from the Latin Hypercube Sampling–tumor removal.

    The fraction of tumors removed as a fraction of relevant tumor microenvironment parameters: macrophage recruitment rate, tumor IL-4 secretion rate, T cell IFN-γ secretion rate, tumor proliferation rate, M2 IL-4 secretion rate, and macrophage lifespan. With Latin Hypercube Sampling, parameter sets are sampled so that each parameter value appears only once. This is done for the sake of computational efficiency. Because only one parameter set was simulated for each parameter value, the plots are very discontinuous and do not show the average model behavior for each parameter value. Despite this, a clear trend is visible for macrophage recruitment rate.

    (TIF)

    S2 Fig. Results from the Latin Hypercube Sampling–final tumor cell count.

    The final number of tumor cells is on the y-axis and the relevant parameters are on the x-axes (macrophage recruitment rate, tumor IL-4 secretion rate, T Cell IFN-γ secretion rate, tumor proliferation rate, M2 IL-4 secretion rate, and macrophage lifespan). Because only one parameter set was simulated for each parameter value, the plots are very discontinuous. However, a clear trend is visible for macrophage recruitment rate and macrophage lifespan. The maximum number of tumor cells here is 5,000 because we chose to end simulation when either maximum simulation time was reached, the tumor was eliminated, or tumor cell count reached 5,000. This is because at that number of tumor cells, there is much less space available for recruited immune cells, so their recruitment inherently decreases due to the nature of the model.

    (TIF)

    S3 Fig. Tumor growth curves without immune cells and without immune function.

    Comparison of tumor growth curves when there are no immune cells present in the simulation and when immune cells are present but lack function. Because these curves are very similar, we conclude that spatial inhibition is not the cause of the equilibrium state seen without treatment. Simulations were done in replicates of 10.

    (TIF)

    S4 Fig. Impact of initial macrophage density.

    Comparison of tumor curves and total macrophage curves for differing starting macrophage densities: 2x10-4 (blue), 2x10-3 (red, value used for rest of the simulations), and 2x10-2 (green) cells per site. Each density was simulated in replicates of 10. Plotted are the average time courses for those replicates.

    (TIF)

    S5 Fig. Individual time courses for macrophage depletion probability of 0.006 per timestep.

    Tumors that were eliminated are shown in orange. (A) Cancer cells, (B) M0 macrophages, (C) M1 macrophages, (D) M2 macrophages, (E) T cells, (F) Active T cells, (G) Average IL-4, (H) maximum IL-4, (I) average IFN-γ, (J) Maximum IFN-γ.

    (TIF)

    S6 Fig. Individual time courses for macrophage depletion probability of 0.002 per timestep.

    Tumors that survived to the end of simulation are shown in black. Tumors that were eliminated are shown in orange. (A) Cancer cells, (B) M0 macrophages, (C) M1 macrophages, (D) M2 macrophages, (E) T cells, (F) Active T cells, (G) Average IL-4, (H) maximum IL-4, (I) average IFN-γ, (J) Maximum IFN-γ.

    (TIF)

    S7 Fig. Individual time courses for recruitment inhibition of 0.7.

    Tumors that survived to the end of simulation are shown in black. Tumors that were eliminated are shown in blue. (A) Cancer cells, (B) M0 macrophages, (C) M1 macrophages, (D) M2 macrophages, (E) T cells, (F) active T cells, (G) Average IL-4, (H) Maximum IL-4, (I) Average IFN-γ, (J) Maximum IFN-γ.

    (TIF)

    S8 Fig. Individual time courses for PI3K inhibition of 0.8.

    Tumors that survived to the end of simulation are shown in black. Tumors that were eliminated are shown in green. (A) cancer cells, (B) M0 macrophages, (C) M1 macrophages, (D) M2 macrophages, (E) T cells, (F) active T cells, (G) Average IL-4, (H) Maximum IL-4, (I) Average IFN-γ, (J) Maximum IFN-γ.

    (TIF)

    S9 Fig. Effects of cycled immunotherapy started at 100 days of simulation at higher tumor proliferation.

    For macrophage depletion (A), the fraction of macrophages removed at the beginning of each cycle is given as “Depletion Strength” and the length of each cycle is “Cycle Duration.” For recruitment inhibition (B) and PI3K inhibition (C), the number of days in the cycle that treatment is on for is given as “Days Treatment is On.” Recruitment inhibition is simulated at a strength of 1.0 (complete inhibition) and PI3K inhibition is simulated at a strength of 0.8. For recruitment inhibition and PI3K inhibition, spaces marked with an X are those where treatment-on time is equal or greater to the cycle duration, thus were not simulated. (i) fraction of tumors removed after starting therapy. (ii) time (days) from starting treatment to tumor removal. It is averaged over the 100 simulations and is equal to zero if no tumors were removed at that treatment level. (iii) maximum number of M1 macrophages. (iv) maximum number of total T cells. (v) maximum number of active T cells.

    (TIF)

    S10 Fig. Constant macrophage depletion started at 100 days with increased tumor proliferation rate.

    (A) fraction of tumors removed after starting simulation, (B) average time needed to remove the tumor, (C) the maximum number of M1 macrophages, (D) the maximum number of total T cells, (E) the maximum number of active T cells. Note the differences in y-axis scales across treatment strategies. Asterisks signify that a result is statistically significant (p<0.01) from the result of the lowest treatment strength. We note that for the time needed to remove the tumor (B), plotted is the time averaged over only simulations where the tumor was removed. Therefore, while some bars may appear much higher than that of the lowest treatment strength, they only represent a small number of simulations out of 100 and thus were not found to be statistically significant.

    (TIF)

    S11 Fig. Constant recruitment inhibition started at 100 days with increased tumor proliferation rate.

    (A) fraction of tumors removed after starting simulation, (B) average time needed to remove the tumor, (C) the maximum number of M1 macrophages, (D) the maximum number of total T cells, (E) the maximum number of active T cells. Note the differences in y-axis scales across treatment strategies. Asterisks signify that a result is statistically significant (p<0.01) from the result of the lowest treatment strength. We note that for the time needed to remove the tumor (B), plotted is the time averaged over only simulations where the tumor was removed. Therefore, while some bars may appear much higher than that of the lowest treatment strength, they only represent a small number of simulations out of 100 and thus were not found to be statistically significant.

    (TIF)

    S12 Fig. Constant recruitment inhibition started at 100 days with macrophage recruitment rate doubled.

    (A) fraction of tumors removed after starting simulation, (B) average time needed to remove the tumor, (C) the maximum number of M1 macrophages, (D) the maximum number of total T cells, (E) the maximum number of active T cells. Note the differences in y-axis scales across treatment strategies. Asterisks signify that a result is statistically significant (p<0.01) from the result of the lowest treatment strength. We note that for the time needed to remove the tumor (B), plotted is the time averaged over only simulations where the tumor was removed. Therefore, while some bars may appear much higher than that of the lowest treatment strength, they only represent a small number of simulations out of 100 and thus were not found to be statistically significant.

    (TIF)

    S13 Fig. Constant PI3K inhibition started at 100 days with macrophage recruitment rate doubled.

    (A) fraction of tumors removed after starting simulation, (B) average time needed to remove the tumor, (C) the maximum number of M1 macrophages, (D) the maximum number of total T cells, (E) the maximum number of active T cells. Note the differences in y-axis scales across treatment strategies. Asterisks signify that a result is statistically significant (p<0.01) from the result of the lowest treatment strength. We note that for the time needed to remove the tumor (B), plotted is the time averaged over only simulations where the tumor was removed. Therefore, while some bars may appear much higher than that of the lowest treatment strength, they only represent a small number of simulations out of 100 and thus were not found to be statistically significant.

    (TIF)

    S14 Fig. Effects of cycled immunotherapy started at 100 days of simulation at macrophage recruitment rate doubled.

    For macrophage depletion (A), the fraction of macrophages removed at the beginning of each cycle is given as “Depletion Strength” and the length of each cycle is “Cycle Duration.” For recruitment inhibition (B) and PI3K inhibition (C), the number of days in the cycle that treatment is on for is given as “Days Treatment is On.” Recruitment inhibition is simulated at a strength of 1.0 (complete inhibition) and PI3K inhibition is simulated at a strength of 0.8. For recruitment inhibition and PI3K inhibition, spaces marked with an X are those where treatment-on time is equal or greater to the cycle duration, thus were not simulated. (i) fraction of tumors removed after starting therapy. (ii) time (days) from starting treatment to tumor removal. It is averaged over the 100 simulations and is equal to zero if no tumors were removed at that treatment level. (iii) maximum number of M1 macrophages. (iv) maximum number of total T cells. (v) maximum number of active T cells.

    (TIF)

    S15 Fig. Constant macrophage depletion started at 100 days with increased tumor proliferation and macrophage recruitment rates.

    (A) fraction of tumors removed after starting simulation, (B) average time needed to remove the tumor, (C) the maximum number of M1 macrophages, (D) the maximum number of total T cells, (E) the maximum number of active T cells. Note the differences in y-axis scales across treatment strategies. Asterisks signify that a result is statistically significant (p<0.01) from the result of the lowest treatment strength. We note that for the time needed to remove the tumor (B), plotted is the time averaged over only simulations where the tumor was removed. Therefore, while some bars may appear much higher than that of the lowest treatment strength, they only represent a small number of simulations out of 100 and thus were not found to be statistically significant.

    (TIF)

    S16 Fig. Constant recruitment inhibition started at 100 days with increased tumor proliferation and macrophage recruitment rates.

    (A) fraction of tumors removed after starting simulation, (B) average time needed to remove the tumor, (C) the maximum number of M1 macrophages, (D) the maximum number of total T cells, (E) the maximum number of active T cells. Note the differences in y-axis scales across treatment strategies. Asterisks signify that a result is statistically significant (p<0.01) from the result of the lowest treatment strength. We note that for the time needed to remove the tumor (B), plotted is the time averaged over only simulations where the tumor was removed. Therefore, while some bars may appear much higher than that of the lowest treatment strength, they only represent a small number of simulations out of 100 and thus were not found to be statistically significant.

    (TIF)

    S17 Fig. Cycling PI3K inhibition with increased tumor proliferation and macrophage recruitment rates.

    The macrophage recruitment rate is doubled, and tumor proliferation rate increased to 1.2/day. (A) fraction of tumors removed after starting simulation, (B) average time needed to remove the tumor, (C) the maximum number of M1 macrophages, (D) the maximum number of total T cells, (E) the maximum number of active T cells

    (TIF)

    S18 Fig. Cycling recruitment inhibition with increased tumor proliferation and macrophage recruitment rates.

    The macrophage recruitment rate is doubled, and tumor proliferation rate increased to 1.2/day. (A) fraction of tumors removed after starting simulation, (B) average time needed to remove the tumor, (C) the maximum number of M1 macrophages, (D) the maximum number of total T cells, (E) the maximum number of active T cells

    (TIF)

    S1 Table. Model Parameters.

    Parameter values, with supporting references. For the tumor division time and macrophage recruitment rate parameters, values shown in parentheses are the increased values used for certain simulations, as described in the Results.

    (DOCX)

    Attachment

    Submitted filename: Reproducible_report_PCOMPBIOL_D_20_01387.pdf

    Attachment

    Submitted filename: Response to reviewers_R1.docx

    Data Availability Statement

    Github: https://github.com/FinleyLabUSC/Early-TME-ABM-PLOS-Comp-Bio.


    Articles from PLoS Computational Biology are provided here courtesy of PLOS

    RESOURCES