BMC Bioinformatics (Jun 2023)

Nfinder: automatic inference of cell neighborhood in 2D and 3D using nuclear markers

  • Bruno Moretti,
  • Santiago N. Rodriguez Alvarez,
  • Hernán E. Grecco

DOI
https://doi.org/10.1186/s12859-023-05284-2
Journal volume & issue
Vol. 24, no. 1
pp. 1 – 12

Abstract

Read online

Abstract Background In tissues and organisms, the coordination of neighboring cells is essential to maintain their properties and functions. Therefore, knowing which cells are adjacent is crucial to understand biological processes that involve physical interactions among them, e.g. cell migration and proliferation. In addition, some signaling pathways, such as Notch or extrinsic apoptosis, are highly dependent on cell–cell communication. While this is straightforward to obtain from membrane images, nuclei labelling is much more ubiquitous for technical reasons. However, there are no automatic and robust methods to find neighboring cells based only on nuclear markers. Results In this work, we describe Nfinder, a method to assess the cell’s local neighborhood from images with nuclei labeling. To achieve this goal, we approximate the cell–cell interaction graph by the Delaunay triangulation of nuclei centroids. Then, links are filtered by automatic thresholding in cell–cell distance (pairwise interaction) and the maximum angle that a pair of cells subtends with shared neighbors (non-pairwise interaction). We systematically characterized the detection performance by applying Nfinder to publicly available datasets from Drosophila melanogaster, Tribolium castaneum, Arabidopsis thaliana and C. elegans. In each case, the result of the algorithm was compared to a cell neighbor graph generated by manually annotating the original dataset. On average, our method detected 95% of true neighbors, with only 6% of false discoveries. Remarkably, our findings indicate that taking into account non-pairwise interactions might increase the Positive Predictive Value up to + 11.5%. Conclusion Nfinder is the first robust and automatic method for estimating neighboring cells in 2D and 3D based only on nuclear markers and without any free parameters. Using this tool, we found that taking non-pairwise interactions into account improves the detection performance significantly. We believe that using our method might improve the effectiveness of other workflows to study cell–cell interactions from microscopy images. Finally, we also provide a reference implementation in Python and an easy-to-use napari plugin.

Keywords