QuPath Digital Quantification of Liver Immune Cells v1

Xinle Wang, Cátia T. Perciani, Xue‐Zhong Ma, Chao Jiang, Justin Manuel, Sai Chung, Cornelia Thoeni, Trevor D. McKee, Ian D. McGilvray, Sonya A. MacParland2021

TL;DR

This paper presents a detailed protocol for using QuPath, an open-source digital pathology software, to quantify immune cells in liver tissue. It addresses the inconsistency in current research methodologies by providing a standardized, step-by-step guide for optimizing cell detection and analyzing spatial distribution within the liver lobule, aiming to improve comparability across studies.

What Problem Does This Paper Address?

The analysis of whole slide images (WSIs) of immunohistochemically stained tissue offers a powerful way to quantify cells and understand their spatial relationships, providing insights beyond what the naked eye can discern. However, a significant challenge in digital pathology research is the lack of standardized methodologies for image analysis. This inconsistency, particularly in how quantification parameters are set and applied, makes it difficult to compare results across different studies. This paper specifically tackles this issue by providing a detailed protocol for using QuPath, a popular open-source platform, to quantify immune cells in liver tissue, aiming to standardize the process and improve reproducibility.

Methods

The core of this paper is a practical protocol for using QuPath. The methodology involves several key steps:

  • Software Setup: Downloading and installing QuPath, and configuring initial preferences, such as setting the "Set image type" to "Auto estimate" to automatically identify stain types (e.g., H&E, DAB, fluorescence).
  • Project Management: Creating and organizing QuPath projects, and importing sample images. The protocol emphasizes the importance of image organization, including assigning metadata to categorize images.
  • Image Quality Control: Assessing samples for stain consistency and identifying artifacts. The protocol advises segregating samples with inconsistent staining for separate analysis to ensure accurate positivity capture.
  • Image Annotation: Guiding users on how to annotate regions of interest (ROIs) within the WSI. This includes annotating the entire sample ROI and smaller sub-ROIs for parameter optimization, with specific instructions on how to exclude artifacts.
  • Analysis Optimization: A crucial part of the protocol is optimizing parameters for the "Positive Cell Detection" module within QuPath. This involves selecting specific ROIs, adjusting parameters like "Background radius" and "Cell: DAB OD mean" threshold, and validating these settings on multiple ROIs. Manual annotation of positive cells using the "Points" function is recommended for optimization.
  • Running Analysis: Once optimized, the protocol details how to save the positive cell detection script for future use and batch processing. It also explains how to run the analysis on individual images or entire projects.
  • Spatial Lobular Analysis: The protocol extends to analyzing the spatial distribution of immune cells within the liver lobule. It describes two methods:
  • Rectangular Partitioning: Annotating rectangular regions across the portal tract-central vein axis to divide the lobule into layers.
  • Concentric Partitioning: Creating concentric rings around the portal tract or central vein to analyze radial distribution.
  • Both methods involve saving annotations and using provided scripts for partitioning.

Datasets

Not discussed in the paper. The protocol focuses on the methodology of using QuPath with existing whole slide images of liver tissue.

Key Insights and Ideas

  • Standardization is Crucial: The paper strongly emphasizes that inconsistent analysis parameters in digital pathology hinder scientific comparability. This protocol aims to be a standardized guide to mitigate this issue.
  • QuPath's Flexibility: QuPath is highlighted as a free, flexible, and accessible open-source platform, making advanced digital pathology analysis available to a wider research community.
  • Artifact Management: The protocol provides practical advice on identifying and excluding image or slide preparation artifacts, which is critical for accurate quantification.
  • Iterative Optimization: The importance of a systematic, iterative approach to optimizing quantification parameters within QuPath is stressed, using small ROIs for efficiency and validation across multiple regions.
  • Spatial Context Matters: Beyond simple cell counts, the protocol introduces methods for analyzing the spatial distribution of immune cells within the complex architecture of the liver lobule, offering deeper biological insights.

Key Results

The paper does not present quantitative results in terms of specific accuracy metrics or performance benchmarks. Instead, its primary contribution is a validated, step-by-step protocol. The "key results" are the successful demonstration of how to:

  • Optimize QuPath's positive cell detection module for liver immune cells.
  • Quantify immune cells within defined regions of interest.
  • Analyze the spatial distribution of these cells using both rectangular and concentric partitioning schemes within the liver lobule.
  • Provide a reproducible workflow that can be adopted by other researchers.

Limitations and Future Work

  • Software Version Dependency: The protocol advises against changing QuPath software versions during an analysis to avoid incompatible features, suggesting that specific versions might be critical for reproducibility.
  • Manual Intervention: While QuPath automates many processes, the protocol still involves manual annotation for optimization and artifact exclusion, which can be time-consuming.
  • Generalizability: The protocol is specifically tailored for liver immune cell quantification. While the principles might be applicable to other tissues or cell types, further adaptation would likely be necessary.

Future work, implied by the protocol's detailed nature, would involve the widespread adoption of this standardized method, leading to more comparable and robust findings in liver immunology research. The availability of QuPath as an open-source tool also facilitates community-driven improvements and extensions to this protocol.

Summary updated

Abstract

Digital image analysis is a widely employed technique to effectively reduce sample processing time and bias. Whole slide imaging and analysis of immunohistochemically stained sample slides allows for rapid cellular quantification and insight into single cell and subcellular data that cannot be acquired by the naked eye. QuPath is an emerging open-source platform for digital pathology that provides as a free, flexible and highly accessible option to investigate histology and cellular infiltration. Despite the introduction of program modules that assist with quantification, research methodologies in the literature are inconsistent and impedes comparison across studies. This protocol offers validated, step-by-step instruction on how to optimize and run parameters using the QuPath Positive Cell Detection module, outlines how to quantitate and assess spatial distribution of cells in the liver lobule structure and presents tips and tricks to easily navigate the QuPath platform. The protocol will act to standardize optimization in QuPath for improved comparison in the literature and serve as a guide for new users.
BibTeX
@misc{wang2021qupath,
  author = {Xinle Wang and Cátia T. Perciani and Xue‐Zhong Ma and Chao Jiang and Justin Manuel and Sai Chung and Cornelia Thoeni and Trevor D. McKee and Ian D. McGilvray and Sonya A. MacParland},
  title = {{QuPath Digital Quantification of Liver Immune Cells v1}},
  year = {2021},
  doi = {10.17504/protocols.io.bs6gnhbw},
}
Figure