Fractal dimension, occupancy and hotspot analyses of B cell spatial distribution predict clinical outcome in breast cancer

Juliana C. Wortman, Ting-Fang He, Shawn T. Solomon, Bob Zhang, Anthony Rosario, Ruo‐Qian Wang, Travis Y. Tu, Daniel Schmolze, Yuan Yuan, Susan E. Yost, Xuefei Li, Herbert Levine, Gurinder S. Atwal, Peter P. Lee, Clare C. YubioRxiv 2019

Abstract

While the density of tumor-infiltrating lymphocytes (TILs) is now well known to correlate with clinical outcome, the clinical significance of spatial distribution of TILs is not well characterized. We have developed novel statistical techniques (including fractal dimension differences, a hotspot analysis, a box counting method that we call ‘occupancy’ and a way to normalize cell density that we call ‘thinning’) to analyze the spatial distribution (at different length scales) of various types of TILs in triple negative breast tumors. Consistent with prior reports, the density of CD20+ B cells within tumors is not correlated with clinical outcome. However, we found that their spatial distribution differs significantly between good clinical outcome (no recurrence within at least 5 years of diagnosis) and poor clinical outcome (recurrence with 3 years of diagnosis). Furthermore, CD20+ B cells are more spatially dispersed in good outcome tumors and are more likely to infiltrate into cancer cell islands. Lastly, we found significant correlation between the spatial distributions of CD20+ B cells and CD8+ (cytotoxic) T cells (as well as CD3+ T cells), regardless of outcome. These results highlight the significance of the spatial distribution of TILs, especially B cells, within tumors.

Introduction

In cancer immunology, the presence of "killer" T cells (CD8+) is a well-established predictor of positive prognosis. However, the role of B cells (CD20+) remains less clear. While B cells are frequently found in the tumor microenvironment, simple density measurements—counting the total number of cells per unit area—have historically failed to correlate with patient survival in triple-negative breast cancer (TNBC).

This study addresses the limitation of average density metrics by investigating the spatial heterogeneity of tumor-infiltrating lymphocytes (TILs). By shifting the focus from "how many" cells are present to "where" they are located, the researchers identified spatial patterns that distinguish patients with good clinical outcomes (no recurrence for >5 years) from those with poor outcomes (recurrence within 3 years).

Methodology: Quantifying Spatial Patterns

The researchers developed several novel statistical tools to analyze multi-color immunohistochemistry images from 37 TNBC patients.

Occupancy and Box Counting

The "occupancy" metric uses a box-counting method where a grid is overlaid on tumor images. Each square is assigned a binary value (1 if it contains at least one B cell, 0 otherwise). By varying the square size ($L$), the researchers can measure how "area-filling" the cell distribution is across different scales. To ensure that results were not merely a byproduct of cell density, a "thinning" technique was applied, randomly deleting cells from high-density samples to normalize density across the cohort.

Figure 1: Occupancy analysis methodology. Panel B shows the grid overlay used for box counting. Panel C illustrates the occupancy curves for different outcomes. Panels D and E demonstrate that while B cell density is a poor predictor of survival, the area under the occupancy curve (AUC) significantly correlates with clinical outcome.

Fractal Dimension and Hotspot Analysis

Fractal dimension (FD) describes patterns that exhibit self-similarity across scales. The team measured FD at small scales (10–40 μm) and large scales (200–600 μm). The difference between these two values ($Δs$) indicates whether cells are clustered (low $Δs$) or widely dispersed (high $Δs$). Additionally, hotspot analysis modeled each cell as a 2D Gaussian density peak to calculate the fraction of tumor area with higher-than-average immune cell density.

Results: Spatial Arrangement Predicts Survival

The study found that while B cell density was nearly identical between the good and poor outcome groups ($p=0.5$), their spatial distribution differed dramatically.

Predictive Power of Fractal Metrics

The Fractal Dimension (FD) difference emerged as the most powerful predictor of clinical outcome, achieving a ROC AUC of 0.86. Patients with higher FD differences—indicating more dispersed, area-filling B cell patterns—had significantly better survival probabilities.

Figure 2: Fractal Dimension (FD) difference as a clinical predictor. Panel C shows the significant difference in FD values between outcome groups ($p < 0.0001$). Panel D shows the Kaplan-Meier survival curve, where an FD difference threshold of 0.53 clearly separates good and poor outcomes ($p=0.0021$).

Infiltration and Synergy

In tumors with good outcomes, B cells were not restricted to the supportive stroma but actively infiltrated "cancer cell islands." Furthermore, a high correlation ($r = 0.83$) was observed between the spatial patterns of B cells and CD8+ T cells, suggesting these immune populations may utilize similar physical or chemical pathways to navigate the tumor landscape.

Discussion

These findings suggest that the spatial arrangement of B cells is a critical, yet previously overlooked, indicator of the immune system's effectiveness against TNBC. The "spread out" nature of B cells in survivors may reflect a more thorough patrolling of the tumor or more effective local antigen presentation to T cells.

While limited by a small sample size ($n=37$), the high statistical significance of these spatial metrics warrants further validation in larger cohorts. Future research should explore the biological mechanisms driving these patterns, such as the role of collagen architecture or specific chemokines in guiding immune cell infiltration.

Summary updated

BibTeX
@misc{wortman2019fractal,
  author = {Juliana C. Wortman and Ting-Fang He and Shawn T. Solomon and Bob Zhang and Anthony Rosario and Ruo‐Qian Wang and Travis Y. Tu and Daniel Schmolze and Yuan Yuan and Susan E. Yost and Xuefei Li and Herbert Levine and Gurinder S. Atwal and Peter P. Lee and Clare C. Yu},
  title = {{Fractal dimension, occupancy and hotspot analyses of B cell spatial distribution predict clinical outcome in breast cancer}},
  year = {2019},
  doi = {10.1101/678607},
  howpublished = {bioRxiv},
}
Figure