Detection of disease-specific signatures in B cell repertoires of lymphomas using machine learning

Paul Schmidt-Barbo, Gabriel Kalweit, Mehdi Naouar, Lisa Paschold, Edith Willscher, Christoph Schultheiß, Bruno Märkl, Stefan Dirnhofer, Alexandar Tzankov, Mascha Binder, Maria KalweitPLOS Computational Biology 2024

TL;DR

This paper demonstrates that machine learning can effectively classify B cell lymphomas by analyzing B cell receptor (BCR) repertoires from tissue samples. By leveraging BCR sequence data and machine learning, the researchers achieved a promising diagnostic tool that could potentially aid pathologists in subtyping these complex cancers.

What Problem Does This Paper Address?

Diagnosing B cell lymphomas is a complex task that traditionally relies on the expertise of pathologists interpreting microscopic features. This process requires extensive training and can be challenging due to the diverse subtypes of lymphoma. The B cell receptor (BCR), which is central to B cell function and often altered in lymphomas, along with the surrounding immune microenvironment, holds potential clues for classification. However, extracting and interpreting these complex signatures from large-scale sequencing data has been a challenge. This paper aims to bridge this gap by exploring whether machine learning, applied to BCR repertoire sequencing data from lymphoma tissues, can provide a more objective and accurate method for subtyping these cancers.

Methods

The researchers employed a machine learning approach to classify three major lymphoma subtypes: nodular lymphocyte predominant B cell lymphoma (NLPBL), diffuse large B cell lymphoma (DLBCL), and chronic lymphocytic leukemia (CLL), along with healthy controls.

Key methodological aspects include:

  • BCR Repertoire Sequencing: Next-generation sequencing (NGS) was used to capture the diversity of B cell receptors (BCRs) from lymphoma-infiltrated tissues. This approach captures not only the malignant B cells but also the surrounding non-malignant immune cells.
  • Feature Engineering: A comprehensive set of features was extracted from the BCR repertoire data. These included:
  • Clonotype-level features: Clonotype fractions (abundance), CDR3 sequence lengths, and VDJ gene usage.
  • Physico-chemical properties: Kidera factors, which represent biochemical properties of amino acids in the CDR3 region, were calculated.
  • Repertoire-level metrics: Clonality, Shannon diversity index, richness, and the fraction of somatically hypermutated clonotypes.
  • Machine Learning Models: Two well-established models were trained and compared:
  • Random Forest: An ensemble method known for its robustness.
  • Logistic Regression: A simpler, more interpretable linear model.
  • Model Training and Validation: The dataset was split into training (80%) and testing (20%) sets. Stratified k-fold cross-validation was used during training to prevent overfitting. Hyperparameter tuning was performed using a grid search.
  • Impact of Bystander Cells: The study specifically investigated how the number of top clonotypes considered (from 1 to 100) affected model performance, allowing for the assessment of the contribution of both malignant and non-malignant B cells.
  • Principal Component Analysis (PCA): Used to visualize data separation and understand how different numbers of clonotypes influenced the clustering of samples.

Datasets

The study utilized a dataset comprising:

  • Lymphoma Samples: 620 samples from patients with three distinct lymphoma subtypes:
  • 90 samples of nodular lymphocyte predominant B cell lymphoma (NLPBL)
    • 182 samples of diffuse large B cell lymphoma (DLBCL)
    • 348 samples of chronic lymphocytic leukemia (CLL)
  • Control Samples: 291 samples from healthy donors (HD), primarily from peripheral blood.

The BCR repertoire data for these samples has been deposited in the European Nucleotide Archive (ENA) under accession number PRJEB66357.

Key Insights and Ideas

  • BCR Repertoires as Diagnostic Signatures: The study strongly suggests that the unique patterns within B cell receptor repertoires, even when mixed with non-malignant cells, contain disease-specific signatures that can be leveraged for lymphoma classification.
  • Logistic Regression Outperforms: Surprisingly, the simpler logistic regression model, with the right set of features, performed as well as or better than the more complex random forest model for this classification task. This suggests a degree of linear separability in the chosen feature space.
  • Bystander Cells Matter, Especially in NLPBL: While the most abundant clonotype was often sufficient for classifying DLBCL and CLL, NLPBL, which has a significant population of non-malignant bystander cells, benefited from considering a broader range of clonotypes. This highlights the importance of the tumor microenvironment in shaping the BCR repertoire.
  • Feature Importance Varies by Subtype: The study identified key features driving classification. For instance, Kidera factors related to conformation and charge were important for DLBCL, while CDR3 length was significant for NLPBL. This indicates that different lymphoma subtypes have distinct molecular underpinnings reflected in their BCRs.
  • Potential for a More Objective Diagnostic Tool: The findings provide a proof-of-concept for using machine learning on BCR repertoire data as a complementary tool to traditional histopathology, potentially leading to more standardized and objective diagnoses.

Key Results

  • A logistic regression model achieved a weighted F1-score of 0.84 on an independent test set comprising 125 lymphoma samples and 58 healthy individuals, differentiating between CLL, DLBCL, NLPBL, and HD.
  • For DLBCL and CLL, using only the most prevalent clonotype was often sufficient for optimal classification.
  • In NLPBL, incorporating a broader array of clonotypes (top 4-20) significantly enhanced model accuracy, underscoring the role of bystander cells.
  • The best performing models generally utilized information from the top 4-20 clonotypes, with performance declining when considering very large numbers (50-100) of clonotypes.
  • PCA analysis showed that while distinct clusters were formed, the separation was not always perfectly linear, especially when considering only one clonotype. The best separation was observed with 4-20 clonotypes.

Limitations and Future Work

  • Linear Separability Limits: While logistic regression performed well, the paper notes that it starts to show limitations when the number of clonotypes exceeds 20, suggesting that for more complex relationships or a larger number of subtypes, deep learning models might be more suitable.
  • Data Quantity: The authors emphasize that accumulating larger and more diverse datasets is crucial for improving the performance of machine learning models, especially for deep learning approaches.
  • Sampling Strategies: Careful consideration of sampling strategies is needed to ensure balanced and representative datasets, mitigating issues like class imbalance.
  • Future Directions: The authors suggest that their approach could be expanded to include more lymphoma subtypes and that further research into the role of non-malignant bystander cells could provide deeper insights into lymphoma immunobiology. They envision this method becoming a component of digital lymphoma diagnostics, complementing conventional techniques.

Summary updated

BibTeX
@article{schmidtbarbo2024detection,
  author = {Paul Schmidt-Barbo and Gabriel Kalweit and Mehdi Naouar and Lisa Paschold and Edith Willscher and Christoph Schultheiß and Bruno Märkl and Stefan Dirnhofer and Alexandar Tzankov and Mascha Binder and Maria Kalweit},
  title = {{Detection of disease-specific signatures in B cell repertoires of lymphomas using machine learning}},
  journal = {PLOS Computational Biology},
  year = {2024},
  url = {https://openreview.net/forum?id=hEJqfxXn77},
}
Figure