Abstract
Cancers occur across species. Understanding what is consistent and varies across species can provide new insights into cancer initiation and evolution, with significant implications for animal welfare and wildlife conservation. We build a pan-species cancer digital pathology atlas (panspecies.ai) and conduct a pan-species study of computational comparative pathology using a supervised convolutional neural network algorithm trained on human samples. The artificial intelligence algorithm achieves high accuracy in measuring immune response through single-cell classification for two transmissible cancers (canine transmissible venereal tumour, 0.94; Tasmanian devil facial tumour disease, 0.88). In 18 other vertebrate species (mammalia = 11, reptilia = 4, aves = 2, and amphibia = 1), accuracy (range 0.57–0.94) is influenced by cell morphological similarity preserved across different taxonomic groups, tumour sites, and variations in the immune compartment. Furthermore, a spatial immune score based on artificial intelligence and spatial statistics is associated with prognosis in canine melanoma and prostate tumours. A metric, named morphospace overlap, is developed to guide veterinary pathologists towards rational deployment of this technology on new samples. This study provides the foundation and guidelines for transferring artificial intelligence technologies to veterinary pathology based on understanding of morphological conservation, which could vastly accelerate developments in veterinary medicine and comparative oncology.
Similar content being viewed by others
Introduction
Cancers occur with phenotypically similar forms across the tree of life1,2,3,4. Understanding the conserved and diverged aspects of cancer across species can help answer questions about the origin and fundamental processes of its evolution. Immediate and practical advances from pan-species studies provide new tools and valuable insights into tumorigenesis and cancer resistance5,6,7,8, leading to improved cancer care for humans and non-human animals9. Specifically, transmissible cancers presented in dogs and Tasmanian devils10,11 are among the few known naturally occurring clonally transmissible cancers12. How transmissible cancers escape immune surveillance remains unclear and is of central importance to understanding their biology and cell-to-cell interactions.
Despite significant resources in companion animal care, clinical treatment options are limited for a few aggressive cancers in dogs13,14 that represent one of the best models of human cancer15. Beyond domesticated species, various studies have identified valuable models in wildlife16. For instance, the naturally-emerging urogenital carcinoma in California sea lions17 and papillomavirus triggering brain tumours in raccoons16 are remarkable examples of pathogen-driven neoplasms. Animals managed in zoological institutes also exhibit occurrence of neoplastic growth according to several international studies, including a 10-year survey in the Taipei zoo, Taiwan18, a study of cancer development in vertebrates in French zoological parks19, a 42-year of mammals necropsy data compilation from the San Diego Zoo, United States20, and a report on renal lesions followed by neoplastic and inflammatory responses in captive wild felids in Germany21. Studies of these animals can provide unique insights into the biology and evolution of cancer across the tree of life towards improving animal welfare by early detection and helping conserve endangered species22,23.
Challenges for establishing a unified comparative oncology agenda include sample collection, data management, analysis, and integration24,25,26,27,28,29. These can be tackled by incorporating artificial intelligence (AI) algorithms, which can empower veterinary pathology and help dissect the complexity of cancer across species and scales, from genes to epidemiology. Computational pathology powered by AI has revolutionised the study of human cancers and helped improve our understanding of the immune microenvironment (e.g., 30). In contrast to human cancer management, we lack systematic and standardised AI protocols and digital archiving and analysis of samples to study animal cancers. Therefore, veterinary research has not fully adopted digital pathology26 although efforts are being made to move forward internationally adopted guidelines for tumour pathology28.
Hence, we propose AI has the power to fuel pan-species tumour histology and efficiently manage data-related bottlenecks. Thus far, computational pathology in the study of non-human cancers, and non-human pathology in general, is very limited25,26. Convolutional neural networks have been applied to detect mitotic activity from histological slides of canine cancers14,31. In sheep, deep learning has been employed to delineate the growth phases of mammary development32. Other machine learning techniques have been used to classify a common gastrointestinal disease in cats33. Along with computational pathology, incorporating AI into the veterinary practice of imaging techniques such as CT scans, magnetic resonance imaging, and positron emission tomography34 encourages the development of integrative clinical care. Such an integrative approach promises to direct precision medicine in veterinary oncology by tailoring strategies for individual patients. It includes classifying patients who differ in their treatment response and/or prognostic outcomes.
In this work, we explore and exploit the conservatism of cell morphology in tumours across species by applying an AI tool trained in human lung cancer30 (Fig. 1). We evaluate: (1) the generalisability and accuracy of this AI model in mapping tumour cell distribution and lymphocytic infiltration in histological tissues from transmissible cancers and 18 other species; and (2) the prognostic value of immune infiltration, particularly through accounting for cell spatial co-occurrence between lymphocytes and cancer cells35, in canine melanoma and prostate carcinoma tissue sections36,37,38,39. In this work, we apply computational pathology algorithms to transmissible cancers and pan-species pathology beyond mammals, thereby decoding the composition of cells in tumours across species. Our approach aims to pave the way for pan-species comparative pathology and contribute to a basic understanding of the emergence and prevalence of cancer in nature.
Results
Collection of veterinary histology samples
We present a publicly available pan-species digital pathology atlas that includes 120 hematoxylin and eosin (H&E) digital slide images and 41,567 pathological single-cell annotations, specifically curated for veterinary computational pathology (panspecies.ai).
First, for the evaluation of AI performance, a set of 99 H&E samples from 18 species was selected and digitalised from the Zoological Society of London’s (ZSL) pathological archive (classes, Mammalia = 11 species, Reptilia = 4, Aves = 2, and Amphibia = 1). In addition, four tumour samples from Tasmanian devils with facial tumour disease 1 and 2 (DFT1 and DFT2) and seven with canine transmissible venereal tumour (CTVT) were collected and digitalised from the Transmissible Cancers Group, University of Cambridge. Of all these, 58 images of 20 species passed quality control for image analysis. The pathologists selected one representative slide for each species spanning across Mammalia, Reptilia, Aves, and Amphibia to produce a combined ‘cohort 0’ of 20 H&E sections from 20 different species categorised per neoplastic type as round-cell (n = 4), epithelial (n = 9), mesenchymal (n = 4), neuroendocrine (n = 2) and sex-cord stromal (n = 1) tumours. Secondly, to test the prognostic value of immune infiltration measured by AI and spatial statistics, we utilised 100 H&E images from a canine melanoma cohort (n = 88, provided by the University of Turin) and a canine prostate carcinoma cohort (n = 12, provided by the University of Queensland) with clinical outcome data.
Transferring AI technologies to non-human species
The AI human-lung model, a deep-learning pipeline tailored for human lung cancer (predominantly lung adenocarcinoma, including lung squamous cell carcinoma30, Fig. 1a) was applied without modification to all pan-species 120 H&E samples (cohort 0 n = 20, melanoma cohort n = 88, and prostate cohort n = 12). Briefly, this pipeline identifies the precise location of individual cells in each H&E and classifies them based on nuclear morphological and staining features in one of four cell types: cancer cells, lymphocytes, stromal cells (fibroblasts and endothelial cells) and ‘other’ cells (macrophages, pneumocytes and nonidentifiable cells) (Fig. 1b, c). To evaluate the accuracy of cell classification, we compared its predictions against veterinary pathologists’ annotations.
We first evaluated the accuracy of the human-lung model across all 20 species from cohort 0, using 14,570 cancer, lymphocyte, and stromal single-cell annotations provided by two board-certified specialist veterinary pathologists (C.P. and K.H.). For each slide, we computed the algorithm’s balanced single-cell classification accuracy (BCAcc, Table 1), as well as F1 score, precision, sensitivity, specificity (Supplementary Figs. 1 and 2), corresponding confusion matrix (Supplementary Fig. 3), and the AUROC values per cell class (Supplementary Table 1). The algorithm’s average BCAcc across cell classes showed a diverse variation between and within tumour groups (Fig. 2a, Supplementary Figs. 1 and 2). Tumour types had similar overall BCAcc values (Kruskal–Wallis test, H(4) = 0.534, n = 20, p = 0.97, η2 = −0.231, 95% CI = −0.21 to 0.49). Despite a variable number of annotations per tumour type (Fig. 2b), BCAcc was not associated with the number of annotations (Spearman’s ρ = 0.088, p = 0.71) (Fig. 2c).
To determine the accuracy of this model on the clinical datasets, a board-certified veterinary pathologist (C.P.) provided 26,997 single-cell annotations (13,177 cancer cells, 10,312 lymphocytes, and 3508 stromal cells) on the canine prostate carcinoma cohort. An average BCAcc of 0.9 was observed across the three cell classes (cancer cells = 0.88, lymphocytes = 0.95, and stromal cells = 0.87; Supplementary Table 2). In particular, we observed a higher sensitivity and specificity for classifying lymphocytes compared to cancer and stromal cells (Supplementary Table 2).
To evaluate if an alternative method trained from animal annotations could achieve a better transferability across species compared with the human-lung model, we utilised the 26,997 single-cell annotations from the canine prostate carcinoma cohort to train a new deep-learning model (referred to as the canine carcinoma prostate model) using the same architecture as the human-lung model and tested it across all 20 species from the cohort 0. The overall BCAcc averaged across samples was 0.62 (range: 0.496–0.797), compared to an average of 0.81 (range: 0.57–0.0.94) from the human-lung model. In particular, when applied to a target sample of the same species from cohort 0 (dog’s CTVT), BCAcc was 0.53, compared to 0.94 achieved using the human-lung model (Supplementary Table 3). When applied to a target sample of the same species from cohort 0 (CTVT), BCAcc was 0.53, compared to 0.94 achieved using the human-lung model (Supplementary Table 3). These data suggest that an AI model trained on non-human species is not necessarily superior to AI models trained on human samples when it comes to veterinary applications.
Consistent accuracy in classifying cancer cells and lymphocytes
Overall, the model’s best performance was for mammalian tumours within our limited dataset in cohort 0 (Fig. 3, Supplementary Figs. 2 and 3). In particular, the AI algorithm achieved high accuracy for the two transmissible cancers (CTVT, 0.94; DFT1, 0.88). Furthermore, the CVTV (in Canis lupus familiaris) exhibited the best accuracy across all 20 species (overall precision = 0.98, F1 and BCAcc = 0.94, Fig. 3). In the 18 other vertebrate species from the ZSL cohort, overall BCAcc varied between 0.57 and 0.94. The performance of cancer cell and lymphocyte classification, measured as BCAcc, did not vary between tumour types (Kruskal–Wallis test, cancer cell: H(4) = 0.72, n = 20, p = 0.95, η2 = −0.22, 95% CI = −0.22 to 0.46; lymphocyte: H(4) = 0.534, n = 18, p = 0.74, η2 = −0.157, 95% CI = −0.19 to 0.61). However, the BCAcc of stromal cells differed between tumour types (Kruskal–Wallis test, cancer cell: H(4) = 9.52, n = 20, p = 0.048, η2 = 0.37, 95% CI = 0.08–0.73), with pairwise comparisons significant for differences between epithelial vs round-cell tumours (z-test, z(15) = −2.34, p = 0.018, estimate = −0.088, SE = 0.038, 95% CI = −0.17 to −0.008) and mesenchymal vs round-cell tumours types (z-test, z(15) = −2.6, p = 0.02, estimate = −0.116, SE = 0.045, 95% CI = −0.21 to −0.021). All other comparisons include 0 for the confidence interval of their differences. Surprisingly, in both cases where we reported significant differences, the balanced accuracy of stromal cells in round-cell tumour types was higher than in mesenchymal or epithelial tumour types. In the cohort 0, the round-cell tumour types were identified in the dog (Canis l. familiaris), the Tasmanian devil (Sarcophillus harrisii), the pygmy goat (Capra hircus), and the ring-tailed coati (Nasua nasua). These results show consistent accuracy in classifying cancer cells and lymphocytes across species, while the variability of AI performance is largely driven by stromal cells.
Explaining the model’s accuracy using morphological overlap across species
To explore the morphological similarity between human and non-human cells and to explain the transferability of the human-lung model, we visualised and quantified the morphological space of ~32,000 cells annotated by expert pathologists (Fig. 4a, b). A t-distributed stochastic neighbour embedding (t-SNE) technique was used to reduce 27 single-cell features extracted by the AI human-lung model (Supplementary Table 4) to two dimensions, allowing us to develop a metric, named morphospace overlap, across cell classes and tumour types (Fig. 4b–d; Supplementary Table 6). Morphospace overlap measures the fraction of the morphospace of a cell class intersecting with a second cell class. We found that the human-lung model’s balanced accuracy positively correlated with mean morphospace overlap (Pearson’s ρ = 0.79, p = 2.8 × 10−5; Fig. 4e), suggesting a better model performance on species with higher cell morphological similarity with human cells from the training dataset. Interestingly, species/tumour-specific analyses revealed further insights into the model’s performance (Supplementary Table 5). Non-human cell classes have higher morphospace overlap with their human counterparts than other cells classes of the same species, suggesting that they are morphologically more similar to their human counterparts than other cell classes of the same species (Fig. 4f). Thus, morphospace overlap as a metric may be a useful tool as part of model selection and explanation for pathologists to determine the usability of our (or any other) AI tool.
An AI-based immune score is prognostic in canine cancers
AI-based immune scores have been demonstrated to be prognostic in several human cancers30,40,41,42. However, their clinical relevance in veterinary medicine has not been tested so far. To evaluate the clinical utility of immune scores in non-human animals, we analysed the canine melanoma and prostate cohorts. Two immune scores were tested, including a quantitative measure of immune cell relative abundance (percentage of lymphocytes) and, since lymphocyte surveillance requires cell-cell interactions for effective immune synapses39, we evaluated an immune score based on spatial statistics that consider the location of lymphocytes and their proximity to cancer cells, the tumour-immune colocalisation score35 (for details see Methods).
The tumour-immune colocalisation score, but not the immune abundance score, was found to be associated with survival in the canine melanoma cohort (n = 88, Fig. 5a, c). In a multivariate analysis controlling for age and lymphocyte relative abundance, a high tumour-immune colocalisation score, suggesting that lymphocytes in the tumour colocalise well with cancer cells, was associated with favourable overall survival (HR = 0.98, p = 0.02, n = 88; Fig. 5a). The same pattern was observed after dichotomising colocalisation (Fig. 5c, e, cut-off selected using lower quartile, high colocalisation HR = 0.55, p = 0.038 relative to low colocalisation). A similar trend was observed in the canine prostatic carcinoma dataset where a high tumour-immune colocalisation score was associated with good survival (n = 12, continuous colocalisation: HR = 0.95, p = 0.1; dichotomised colocalisation: HR = 0.26, p = 0.13, Fig. 5b, d, f). Despite the limited cohort sizes, these results highlight the potential importance of automated quantification and spatial analysis of immune infiltration for risk stratification in both canine melanoma and prostatic carcinoma.
Discussion
Comparative oncology pursues the understanding of cancer as a shared phenomenon among species which can generate new insights for cancer biology and human cancers9,43. Here, we have explored the potential and limitations of AI through automated pathological image analysis to study cancer morphology and immune response across species. Previous studies have often been limited to a single species, with applications mainly focused on canine and mouse models (e.g.8,14,44). This work expands the study of computational pathology, including tumours from vertebrates beyond mammals, such as aves, reptiles and one amphibian. It also demonstrates the prognostic value of an AI-based spatial immune score for veterinary medicine.
Although the algorithm was trained on human samples, it was able to distinguish three major cell types with high accuracy in many species (19/20 species in the pan-species cohort reached an accuracy ≥70% and 12/20 species ≥80%; Fig. 6). In line with these observations, the human lung model’s transferability was overall superior across the 20 species, when compared to a different model trained from canine prostate carcinoma tissue. A number of factors may underpin this observation, including the large-scale study design for training and testing AI, long development cycles and computational resources, stringent quality control and management protocols for human samples, making it difficult to match within the currently available veterinary medicine. Our results highlighted the importance of quantitative evaluation of AI applications in veterinary pathology. Although in many species, our AI tool did not achieve sufficiently high accuracy, we developed a quantitative metric, namely the morphospace overlap index, to guide future efforts of transfer learning. Transfer learning from AI trained on other species, controlled by carefully chosen, standardised metrics such as the morphospace overlap index, can be a useful tool for veterinary medicine. Broadly, our comparative analysis revealed that morphological conservation across certain species dictates that cells can be detected and correctly classified by a human specimen-trained AI, fostering our endeavour to develop pan-species computational pathology.
A potential impact of this study is to empower precision medicine for managing and treating animal cancers. Accurate diagnosis and timely treatment could be critical in preserving endangered and threatened species representing important breeding populations45. We demonstrated how the AI tool can be used to study lymphocytic infiltration in canine transmissible venereal tumours, melanoma and prostate tumours and in Tasmanian devil facial tumours with high accuracy and spatial resolution of single-cell locations. As a transmissible disease, the immune response at the organismal level may offer new alternatives to understanding the spread of the disease at a population scale from an epidemiological perspective46,47. Cancer cells from these tumours can colonise a new host by crossing the barriers of histocompatibility associated with the immune system and expressing immunosuppressive cytokines48,49. The quantification and spatial detection of both cancer and immune cells can help study immune evasion and treatment in transmissible cancers, building on progress in understanding T cells immune infiltration in Tasmanian devils50 and immune regulation in CTVT tumour regression51.
Furthermore, we showed that scoring of immune infiltration may have clinical relevance in canine melanoma and prostate tumours, potentially driven by immune synapses between effector T cells and cancer cells39. Previously, immune-related features such as lymphocyte subsets and PD-L1 scores have been associated with survival in canine melanoma, prostate cancer, and lymphoma36,38,52,53. Here, we demonstrated the clinical utility of immune scoring based on routine H&E samples, representing a cost-effective and streamlined solution for risk stratification, much like initiatives in human cancers54,55. This is also particularly important for animal cancer management56, because of the limitation in resource and cost constraint, for example, owners of companion animals may not want to consider tests with high costs. In addition, our finding resonates with recent discoveries in human cancers that the spatial context of immune cells is crucial to cancer development and response to therapy30,40,54,57,58. AI facilitates the integration of histology spatial context and the discovery of quantitative scores relevant to the cancer of focus, as demonstrated in our study. The immune spatial score that accounts for immune cell colocalisation to cancer cells was prognostic in a canine melanoma dataset and showed a similar trend for a small prostate cancer dataset. In contrast, a measure of lymphocyte percentage in the tumour was not. Thus, a detailed study of the tumour microenvironment facilitated by AI can guide new discoveries to understand the mechanisms behind survival, sensitivity, and resistance to standard treatments such as chemotherapy59. By enabling precision medicine, we can advance towards a more personalised and integrative approach to veterinary care60.
Medical treatment for animals has dramatically improved in veterinary clinics, zoological institutions and even wildlife veterinarians61, leading to better options for diagnosing and treating cancer in animal patients24. Despite these significant advances in veterinary oncology62, there are crucial constraints and limited availability of veterinary specialists63, and consequently, digital tools are not widely used25,26. Thus, computational pathology for different species and tumour types will bring tremendous advances for clinical veterinary care and comparative oncology research25,64. Many of the advantages are similar to those for human pathology, with the greatest benefits being accessibility to veterinary pathologists, time saved and increased diagnostic accuracy, however, significant challenges remain. For instance, the low rate of samples passing quality control highlights a marked difference in sample management between veterinary and human cancer care. Therefore, the resources provided in this research (see panspecies.ai) represent a significant step towards an efficient and cost-effective transfer of AI technologies to veterinary medicine.
We further observed that the transferability performance of the human-lung model was limited in some cases. Morphologically complex cancers that exhibit drastically different morphological features compared to epithelial histotypes or cancers with a high degree of similarity to normal cells represent significant hurdles for transfer learning. The immune compartment, which is highly variable among mammals, birds and reptiles65, imposes difficulties that seem complicated to pass with a generic algorithm. Moreover, this is amplified when evaluating cancer affecting the haematopoietic tissue, such as lymphoma in the coati (N. nasua, Fig. 6c) and pygmy goat (C. hircus). Similarly, for the chimpanzee (Pan troglodytes) with a spindle cell sarcoma, the neoplastic fibroblasts were hard to differentiate from reactive fibroblasts (Fig. 6d). This is a challenge both for the automated analysis and manual identification by pathologists. In those cases, it may be appropriate to take alternative strategies such as re-train a model, testing available cancer-specific models or developing a new model incorporating other tissue characteristics. To address the issue of model suitability, explain the model’s accuracy, and avoid unnecessary single-cell classification, we developed a metric, named morphospace overlap, to guide pathologists who wish to apply the AI tools to their samples based on morphological similarity obtained after single-cell detection. Based on our data, the transferability of existing AI technologies developed for humans to the veterinary domain may be significantly higher than previously thought.
Limitations of our study include the limited availability of samples and annotations. It will be important to validate our findings on extended pan-species cohorts and advance our understanding of intratumor heterogeneity across different species and derive more controlled interspecies comparisons. For example, future attempts can shed more light on immune compositions in the microenvironment using detailed multiplexing profiles. Nevertheless, this work represents a step forward towards a future where machine learning is incorporated in diagnostic investigations of natural and emerging diseases in non-human animals, enhancing accuracy and sensitivity and complementing veterinary pathologists’ capability in the decision-making process. Computational pathology can bring valuable opportunities for automated diagnosis, tumour grading, scoring, and precision medicine for animal cancers.
Finally, comparative oncology also brings tremendous benefits to human cancer research5,9,43,66,67. The understanding of cancer in model animals is crucial for the selection of the right animal models68 for human diseases and the pre-clinical development of drugs69. This knowledge is also being transferred into new therapeutic approaches for animals themselves to guide the rational application of immunotherapy70. Our knowledge of cancer in wild animals is limited, and computational pathology can greatly expand research opportunities that compare cancer in the wild to managed populations, as well as comparisons with human cancer. Cross-species cancer comparisons may help address fundamental questions in cancer biology and evolution too. This work revealed highly conserved morphology features across many species, particularly in epithelial and round-cell tumours, highlighting potential evolvability constraints for certain tumour types. The mismatch between species’ evolutionary history and the conserved cellular morphological diversity raises new questions on the origin of cell morphological patterns; is morphological conservation fixed early in metazoan evolutionary history? Or is it the result of stabilising selection imposed by the extracellular matrix to meet homoeostatic conditions?71,72 Addressing the conserved features and differences in tumour biology can lead to novel research, therapeutics and discoveries that one day could be translated into human and non-human clinical care61,73.
Methods
Veterinary pathological samples
This research complies with all relevant ethical regulations. Archival samples were obtained from the Zoological Society of London. Tasmanian devil facial tumour disease 1 and 2 (DFT1 and DFT2) and canine transmissible venereal tumour’s samples collection procedures were approved by the University of Cambridge Department of Veterinary Medicine Ethics and Welfare Committee (CR191). All the canine melanoma samples were prepared at the University of Turin, they belong to dogs that were privately owned and sampled for diagnostic purposes. A written informed consent of the owners is always signed; thus, a formal approval of the Institution Committee for Animal Care is not required. All the canine prostate carcinoma were prepared at the University of Queensland, the protocol was approved by Animal Ethics Committee (approval no. ANFRA/SVS/406/13).
In total, 99 H&E samples from 29 species were retrieved from the Zoological Society of London’s (ZSL) pathological archive, derived from clinical or postmortem examinations of ZSL London Zoo’s living collections (Supplementary Table 6). Of these, 51 slides from 22 species passed quality control for image analysis, and 18 slides representing 18 species were selected by the pathologists for subsequent analyses. Exclusion criteria defined for quality control include the presence of haemorrhage, ample necrotic tissue, the lack of tumour components, and the presence of high amounts of melanin/pigments in the tissue samples hindering the correct identification of individual cells. Samples were either obtained through tissue biopsies from surgery or routine postmortem examinations from animals that were (i) examined immediately after euthanasia or (ii) stored at 4 degrees Celsius and examined within two days from death. Lesions were excised, fixed in 10% neutral buffered formalin solution and trimmed before being sent to external institutions (IZVG Pathology and Finn Pathologists) for histopathological processing, paraffin embedding, sectioning, and staining with H&E for analysis. Additionally, four tumour samples from individuals with Tasmanian devil facial tumour disease 1 and 2 (DFT1 and DFT2) and seven with canine transmissible venereal tumour (CTVT) were collected and digitalised from the Transmissible Cancers Group, University of Cambridge. A sample to represent each species was then selected for our analysis; these were previously reported in the following studies: C. familiaris74 and S. harrisii10. We refer to this 20 samples cohort as ‘cohort 0’, where each tumour sample is coded according to the scientific name of the species from where it was reported, but not implying the extrapolation to other tumour types for the same species. All slides were scanned using NanoZoomer S210 digital slide scanner (C13239-01) and NanoZoomer digital pathology system v.3.1.7 (Hamamatsu) at 40X magnification (228 nm/pixel resolution).
Two clinical cohorts include survival data associated with tumour tissue sections. A set of 12 H&E slides from 12 dogs with canine prostate tumours (median age 10.25 years) with a median survival time of 108 days was provided by the University of Queensland, Australia. An additional canine melanoma cohort was facilitated by the Department of Veterinary Sciences, University of Torino, Italy, consisting of 88 H&Es from 88 dogs having a median age of 11 years at diagnosis and a median survival time of 370 days. Both canine prostate and melanoma cohorts were utilised for the study of immune response and cancer outcome to provide a more robust analysis with emphasis on a single species and prognostic value of classifying and georeferencing single cells in the tissue. All canine patients were euthanised due to poor clinical conditions or had a tumour-related death; hence, survival data corresponds to overall survival from the moment of tumour diagnosis. All slides were scanned at 40X in the corresponding institutions.
AI human-lung model
The entire deep-learning-based single-cell analysis pipeline described in30 was implemented. This pipeline was designed and developed for human lung tumour specimens. Briefly, all 20 whole-section images were first down-scaled to 20X and then tiled into 2000 × 2000 images for subsequent three-stage analysis. Firstly, all viable H&E tumour tissue areas are segmented. Secondly, within the segmented tissue image, a spatially constrained convolutional neural network predicts for each pixel the probability that it belongs to the centre of a nucleus; cell nuclei were then detected from the probability map obtained from the deep network. Lastly, each identified cell was classified using a neighbouring ensemble predictor coupled with a spatially constrained convolutional neural network. There were four cell classes: cancer (malignant epithelial) cells, lymphocytes (including plasma cells), noninflammatory stromal cells (fibroblasts and endothelial cells) and an ‘other’ cell type that included nonidentifiable cells, less abundant cells such as macrophages and chondrocytes and ‘normal’ pneumocytes and bronchial epithelial cells.
We focused on the three main classes, cancer cells, lymphocytes, and stromal cells. Two board-certified specialist veterinary pathologists (C.P. and K.H.) annotated 14,570 cancer, lymphocyte and stromal cells on raw whole-section images from the pan-species cohort. In the canine prostate cohort, 26,997 annotations were made by C.P. (13,177 cancer cells, 10,312 lymphocytes, and 3508 stromal cells).
The algorithm’s performance for detecting and classifying cells across all species was evaluated directly against the ground truth provided by pathologists’ annotations. Individual class accuracy statistics were calculated using the R function ‘confusionMatrix’ from the R package caret. To analyse the variability in the classification balanced accuracy values, BCAcc, across tumour or cell types, we used a Kruskal–Wallis test. Confidence interval (95%) for effect size (η2) was estimated via bootstrap. When the test was significant (p < 0.05), we applied multiple comparisons correcting p values using Bonferroni–Hochberg procedures and estimating the 95% confidence interval for the difference then evaluating if the interval includes 0 under the null hypothesis of no difference (R package emmeans).
Features extraction at the cell level was done with two steps: a MicroNet model75 pre-trained on lung H&Es to segment all cells, followed by automatic extraction of morphological measurements for the set of properties from each cell’s mask. This allowed the extraction of 27 features for immune and cancer cells annotated by pathologists in the human and non-human slides (MATLAB function ‘regionprops’ with additional modifications as defined in Supplementary Table 2). Annotated cells were mapped to the segmented cell centroid with a strict threshold of 4 pixels (<2 µm, which is less than 1/3 of a lymphocyte cell) and were visually assessed to confirm correct mapping. Dimension reduction of the 27 cellular features was performed using 2D t-distributed stochastic neighbour embedding (t-SNE, perplexity = 50, theta = 0), enabling us to build a morphological space for each cell class (Fig. 5). We computed morphological space overlap using the R package dynRB, which calculates overlap based on the product of overlap in the two t-SNE dimensions. We calculated the morphospace overlap between animal’s and human’s cancer cells and lymphocytes and compared them using Kruskall–Wallis test followed by multiple comparisons with Benjamini & Hochberg p-value correction.
Statistical analyses of prognostic value
To test the prognostic value of intratumor immune infiltration in the canine cohorts (prostate tumours and melanomas), we applied multivariate Cox Proportional Hazards considering lymphocytes’ relative abundance, tumour-lymphocytes spatial colocalisation, and age as predictors. The immune estimation metric corresponds to the spatial colocalisation between cancer and immune cells (Morisita-Horn overlap index35). Morisita-Horn index goes between 0 and 1; for a better interpretation of the Cox multivariate model, colocalisation was multiplied by 100. We tested in separate analyses the effect of colocalisation as a continuous variable and also dichotomised, considering the lower quartile of the distribution as the cutoff. For visualisation, age-adjusted Kaplan–Meier curves were obtained from the multivariate analyses (R package survminer). To avoid strong multicollinearity between the predictor variables explaining the survival response, we calculated the variance inflation factor (VIF), only keeping variables with VIF < 5. Due to data availability, only for melanoma cases, death related/unrelated to the tumour was considered as a censor variable in the multivariate analysis.
AI model for canine prostate carcinoma
An alternative model, the canine prostate carcinoma model, was trained to compare the lung model’s performance with a non-human-based model trained with all the single-cell annotations from the prostate cohort and tested on the pan-species cohort. The canine prostate model has the same architecture as the lung model. The evaluation of the performance of this model was done in the same way as the human-lung model on single-cell annotations in the cohort 0.
Guidelines
Guidelines for slide digitalisation, slide quality control, running the AI model, collecting annotations for validation, and computation of the morphospace overlap index, is available and will be updated through our network webpage www.panspecies.ai/project1atlas.
Reporting summary
Further information on research design is available in the Nature Portfolio Reporting Summary linked to this article.
Data availability
The pan-species digital pathology atlas is publicly available at http://synapse.org/panspecies_ai, providing pan-species digital slide images and pathological annotations of 41,756 single-cell annotations across 20 species. Access can be obtained by registering at http://synapse.org and accepting the Synapse Governance policies for responsible research and data handling. Additionally, slide digitalisation and quality control protocols described in Methods are available at https://www.panspecies.ai/project1atlas. The data used to create figure panels generated in this study are provided in the Supplementary Information/Source Data files. Source data are provided with this paper.
Code availability
All code used for statistical analyses of image data and morphospace overlap test tool was developed in R (v.4.0.3), and it is available at https://github.com/simonpcastillo/PanSpeciesHistology76. The deep-learning pipeline for digital pathology image analysis is previously available for non-commercial research purposes at https://github.com/qalid7/compath.
References
Aktipis et al. Cancer across the tree of life: cooperation and cheating in multicellularity. Philos. Trans. R. Soc. Lond. B Biol. Sci. 370, 20140219 (2015).
Kitsoulis, C. V., Baxevanis, A. D. & Abatzopoulos, T. J. The occurrence of cancer in vertebrates: a mini review. J. Biol. Res. 27, 9 (2020).
Aktipis, C. A. & Nesse, R. M. Evolutionary foundations for cancer biology. Evol. Appl. 6, 144–159 (2013).
Hughes, K. Comparative mammary gland postnatal development and tumourigenesis in the sheep, cow, cat and rabbit: exploring the menagerie. Semin. Cell Dev. Biol. 114, 186–195 (2021).
Abegglen, L. M. et al. Potential mechanisms for cancer resistance in elephants and comparative cellular response to DNA damage in humans. JAMA 314, 1850–1860 (2015).
Sulak, M. et al. TP53 copy number expansion is associated with the evolution of increased body size and an enhanced DNA damage response in elephants. eLife 5, e11994 (2016).
Shao, Y. W. et al. Cross-species genomics identifies DLG2 as a tumor suppressor in osteosarcoma. Oncogene 38, 291–298 (2019).
Wong, K. et al. Cross-species genomic landscape comparison of human mucosal melanoma with canine oral and equine melanoma. Nat. Commun. 10, 353 (2019).
LeBlanc, A. K. & Mazcko, C. N. Improving human cancer therapy through the evaluation of pet dogs. Nat. Rev. Cancer 20, 727–742 (2020).
Stammnitz, M. R. et al. The origins and vulnerabilities of two transmissible cancers in Tasmanian devils. Cancer Cell 33, 607–619.e15 (2018).
Murchison, E. P. Clonally transmissible cancers in dogs and Tasmanian devils. Oncogene 27, S19–S30 (2008).
Dujon, A. M. et al. Transmissible cancers in an evolutionary perspective. iScience 23, 101269 (2020).
Pi Castro, D. et al. Expression of FOXP3 in canine gliomas: immunohistochemical study of tumor-infiltrating regulatory lymphocytes. J. Neuropathol. Exp. Neurol. 79, 184–193 (2020).
Aubreville, M. et al. A completely annotated whole slide image dataset of canine breast cancer to aid human breast cancer research. Sci. Data 7, 417 (2020).
Gardner, H. L., Fenger, J. M. & London, C. A. Dogs as a model for cancer. Annu. Rev. Anim. Biosci. 4, 199–222 (2016).
Pesavento, P. A., Agnew, D., Keel, M. K. & Woolard, K. D. Cancer in wildlife: patterns of emergence. Nat. Rev. Cancer 18, 646–661 (2018).
Browning, H. M., Gulland, F. M. D., Hammond, J. A., Colegrove, K. M. & Hall, A. J. Common cancer in a wild animal: the California sea lion (Zalophus californianus) as an emerging model for carcinogenesis. Philos. Trans. R. Soc. Lond. B Biol. Sci. 370, 20140228 (2015).
Chang, P. H. et al. Spontaneous neoplasms in zoo mammals, birds, and reptiles in Taiwan - A 10-year survey. Anim. Biol. 62, 95–110 (2012).
Madsen, T. et al. Cancer prevalence and etiology in wild and captive animals. ecology and evolution of cancer, 11–46. https://doi.org/10.1016/B978-0-12-804310-3.00002-8 (2017).
Boddy, A. M. et al. Lifetime cancer prevalence and life history traits in mammals. Evol. Med. Public Health 2020, 187–195 (2020).
Junginger, J. et al. Pathology in captive wild felids at German zoological gardens. PLoS ONE 10, e0130573 (2015).
McAloose, D. & Newton, A. L. Wildlife cancer: a conservation perspective. Nat. Rev. Cancer 9, 517–526 (2009).
Tuia, D. et al. Perspectives in machine learning for wildlife conservation. Nat. Commun. 13, 792 (2022).
Boddy, A. M., Harrison, T. M. & Abegglen, L. M. Comparative oncology: new insights into an ancient disease. iScience 23, 101373 (2020).
Bertram, C. A. & Klopfleisch, R. The pathologist 2.0: an update on digital pathology in veterinary medicine. Vet. Pathol. 54, 756–766 (2017).
Zuraw, A. & Aeffner, F. Whole-slide imaging, tissue image analysis, and artificial intelligence in veterinary pathology: An updated introduction and review. Vet. Pathol. 59, 6–25 (2022).
Hoenerhoff, M. J., Meyerholz, D. K., Brayton, C. & Beck, A. P. Challenges and opportunities for the veterinary pathologist in biomedical research. Vet. Pathol. 58, 258–265 (2021).
Meuten, D. J. et al. International guidelines for veterinary tumor pathology: a call to action. Vet. Pathol. 58, 766–794 (2021).
Ezanno, P. et al. Research perspectives on animal health in the era of artificial intelligence. Vet. Res. 52, 40 (2021).
AbdulJabbar, K. et al. Geospatial immune variability illuminates differential evolution of lung adenocarcinoma. Nat. Med. 26, 1054–1062 (2020).
Aubreville, M. et al. Deep learning algorithms out-perform veterinary pathologists in detecting the mitotically most active tumor region. Sci. Rep. 10, 16447 (2020).
Nagy, D. et al. Developing ovine mammary terminal duct lobular units have a dynamic mucosal and stromal immune microenvironment. Commun. Biol. 4, 993 (2021).
Awaysheh, A. et al. Evaluation of supervised machine-learning algorithms to distinguish between inflammatory bowel disease and alimentary lymphoma in cats. J. Vet. Diagn. Investig. 28, 679–687 (2016).
Mattoon, J. S. & Bryan, J. N. The future of imaging in veterinary oncology: Learning from human medicine. Vet. J. 197, 541–552 (2013).
Maley, C. C., Koelble, K., Natrajan, R., Aktipis, A. & Yuan, Y. An ecological measure of immune-cancer colocalization as a prognostic factor for breast cancer. Breast Cancer Res. 17, 131 (2015).
Palmieri, C., Hood, G., Fonseca-Alves, C. E., Laufer-Amorim, R. & Allavena, R. An immunohistochemical study of T and B lymphocyte density in prostatic hyperplasia and prostate carcinoma in dogs. Res. Vet. Sci. 122, 189–192 (2019).
Porcellato, I. et al. Tumor-associated macrophages in canine oral and cutaneous melanomas and melanocytomas: phenotypic and prognostic assessment. Front. Vet. Sci. 9, 878949 (2022).
Yasumaru, C. C., Xavier, J. G., Strefezzi, R. D. F. & Salles-Gomes, C. O. M. Intratumoral T-lymphocyte subsets in canine oral melanoma and their association with clinical and histopathological parameters. Vet. Pathol. 58, 491–502 (2021).
Čemerski, S. & Shaw, A. Immune synapses in T-cell activation. Curr. Opin. Immunol. 18, 298–304 (2006).
Heindl, A. et al. Relevance of spatial heterogeneity of immune infiltration for predicting risk of recurrence after endocrine therapy of ER+ breast cancer. J. Natl Cancer Inst. 110, 166–175 (2017).
Klauschen, F. et al. Scoring of tumor-infiltrating lymphocytes: From visual estimation to machine learning. Semin. Cancer Biol. 52, 151–157 (2018).
Ding, R. et al. Image analysis reveals molecularly distinct patterns of TILs in NSCLC associated with treatment outcome. NPJ Precis. Oncol. 6, 33 (2022).
Schiffman, J. D. & Breen, M. Comparative oncology: what dogs and other species can teach us about humans with cancer. Philos. Trans. R. Soc. Lond. B, Biol. Sci. 370, 20140231 (2015).
Elyada, E. et al. Cross-species single-cell analysis of pancreatic ductal adenocarcinoma reveals antigen-presenting cancer-associated fibroblasts. Cancer Discov. 9, 1102–1123 (2019).
McCallum, H. Tasmanian devil facial tumour disease: lessons for conservation biology. Trends Ecol. Evol. 23, 631–637 (2008).
Ujvari, B., Gatenby, R. A. & Thomas, F. The evolutionary ecology of transmissible cancers. Infect. Genet. Evol. 39, 293–303 (2016).
Jones, E. A., Cheng, Y. & Belov, K. The origin, dynamics, and molecular evolution of transmissible cancers. AGG 5, 317–326 (2015).
Siddle, H. V. & Kaufman, J. Immunology of naturally transmissible tumours. Immunology 144, 11–20 (2015).
Patchett, A. & Woods, G. Targeting transmissible cancers in animals. Science 365, 438–440 (2019).
Pye, R. et al. Demonstration of immune responses against devil facial tumour disease in wild Tasmanian devils. Biol. Lett. 12, 20160553 (2016).
Frampton, D. et al. Molecular signatures of regression of the canine transmissible venereal tumor. Cancer Cell 33, 620–633.e6 (2018).
Porcellato, I. et al. Tumour-infiltrating lymphocytes in canine melanocytic tumours: an investigation on the prognostic role of CD3+ and CD20+ lymphocytic populations. Vet. Comp. Oncol. 18, 370–380 (2020).
Aresu, L. et al. Prognostic value of PD-L1, PD-1 and CD8A in canine diffuse large B-cell lymphoma detected by RNAscope. Vet. Sci. 8, 120 (2021).
Salgado, R. et al. Tumor-infiltrating lymphocytes and associations with pathological complete response and event-free survival in HER2-positive early-stage breast cancer treated with lapatinib and trastuzumab: a secondary analysis of the NeoALTTO Trial. JAMA Oncol. 1, 448–455 (2015).
Hendry, S. et al. Assessing tumor-infiltrating lymphocytes in solid tumors: a practical review for pathologists and proposal for a standardized method from the International Immunooncology Biomarkers Working Group: Part 1: assessing the host immune response, TILs in invasive breast carcinoma and ductal carcinoma in situ, metastatic tumor deposits and areas for further research. Adv. Anat. Pathol. 24, 235–251 (2017).
Pinard, C. J. et al. Comparative evaluation of tumor-infiltrating lymphocytes in companion animals: immuno-oncology as a relevant translational model for cancer therapy. Cancers 14, 5008 (2022).
Barua, S. et al. Spatial interaction of tumor cells and regulatory T cells correlates with survival in non-small cell lung cancer. Lung Cancer 117, 73–79 (2018).
Bruni, D., Angell, H. K. & Galon, J. The immune contexture and Immunoscore in cancer prognosis and therapeutic efficacy. Nat. Rev. Cancer 20, 662–680 (2020).
Klopfleisch, R., Kohn, B. & Gruber, A. D. Mechanisms of tumour resistance against chemotherapeutic agents in veterinary oncology. J. Vet. Med. 207, 63–72 (2016).
Klopfleisch, R. Personalised medicine in veterinary oncology: one to cure just one. J. Vet. Med. 205, 128–135 (2015).
Mestrinho, L. A. & Santos, R. R. Translational oncotargets for immunotherapy: from pet dogs to humans. Adv. Drug Deliv. Rev. 172, 296–313 (2021).
Dobson, J. M. Significant advances in veterinary oncology – 60 years on. J. Small Anim. Pract. 60, 711–722 (2019).
Gyles, C. Meeting demands in specialist training — whose responsibility? Can. Vet. J. 50, 687–690 (2009).
Riccardo, F., Aurisicchio, L., Impellizeri, J. A. & Cavallo, F. The importance of comparative oncology in translational medicine. Cancer Immunol. Immunother. 64, 137–148 (2015).
Montali, R. J. Comparative pathology of inflammation in the higher vertebrates (reptiles, birds and mammals). J. Comp. Pathol. 99, 1–26 (1988).
Nunney, L., Maley, C. C., Breen, M., Hochberg, M. E. & Schiffman, J. D. Peto’s paradox and the promise of comparative oncology. Philos. Trans. R. Soc. Lond., B Biol. Sci. 370, 20140177 (2015).
Nair, N. U. et al. Cross-species identification of cancer resistance–associated genes that may mediate human cancer risk. Sci. Adv. 8, eabj7176 (2022).
Abdelmegeed, S. M. & Mohammed, S. Canine mammary tumors as a model for human disease. Oncol. Lett. 15, 8195–8205 (2018).
Barutello, G. et al. Strengths and weaknesses of pre-clinical models for human melanoma treatment: dawn of dogs’ revolution for immunotherapy. Int. J. Mol. Sci. 19, 799 (2018).
Dow, S. A role for dogs in advancing cancer immunotherapy research. Front. immunol. 10, 2935 (2020).
Bissell, M. J. & Barcellos-Hoff, M. H. The influence of extracellular matrix on gene expression: is structure the message? J. Cell Sci. 8, 327–343 (1987).
Watt, F. M. The extracellular matrix and cell shape. Trends Biochem. Sci. 11, 482–485 (1986).
Klingemann, H. Immunotherapy for dogs: running behind humans. Front. Immunol. 9, 133 (2018).
Strakova, A. et al. Recurrent horizontal transfer identifies mitochondrial positive selection in a transmissible cancer. Nat. Commun. 11, 3059 (2020).
Raza, S. E. A. et al. Micro-Net: a unified model for segmentation of various objects in microscopy images. Med. Image Anal. 52, 160–173 (2019).
AbdulJabbar, K. et al. Bridging clinic and wildlife care with AI-powered pan-species computational pathology, PanSpeciesHistology, https://doi.org/10.5281/zenodo.7503453 (2023)
Acknowledgements
This study is funded by National Institutes of Health grant U54 CA217376 (Y.Y., A.M.B., L.M.A., T.A.G., C.C.M.). We acknowledge additional support from National Institutes of Health grant R01 CA185138 (Y.Y.), Cancer Research UK Career Establishment Award C45982/A21808 (Y.Y.), Cancer Research UK Early Detection Program Award C9203/A28770 (Y.Y.), Cancer Research UK Sarcoma Accelerator C56167/A29363 (Y.Y.), Cancer Research UK Brain tumour Award C25858/A28592 (Y.Y. and S.P.C.), Rosetrees Trust A2714 (Y.Y.), Children’s Cancer and Leukaemia Group CCLGA201906 (Y.Y.), The Royal Marsden Hospital, the ICR National Institute of Health Research Biomedical Research Centre (Y.Y.) and Department of Pediatrics Research Enterprise, University of Utah (L.M.A.). The authors wish to thank Edmund Flach from the Zoological Society of London, as well as external pathologists Mark Stidworthy, Daniella Denk, Cheryl Sangster, and Ann Pocknell. L.M.A. acknowledges support from the Department of Pediatrics Research Enterprise (University of Utah).
Author information
Authors and Affiliations
Contributions
Conceptualisation: K.A., S.P.C., E.P.M., T.A.G., C.P. and Y.Y.; Methodology: K.A., S.P.C., C.P., K.H., H.D., S.S., L.A., L.M. and S.I.; Investigation: K.A., S.P.C., C.P. and Y.Y.; Writing: S.P.C., K.A., Y.Y., A.M.B., L.M.A., C.P. and C.C.M., with input from all authors.
Corresponding author
Ethics declarations
Competing interests
The funders had no role in the design of the study; the collection, analysis, or interpretation of the data; the writing of the manuscript; or the decision to submit the manuscript for publication. Y.Y. has received speakers bureau honoraria from Roche and consulted for Merck and Co Inc. L.M.A. is a share-holder and consultant to PEEL Therapeutics, Inc. The remaining authors declare no competing interests.
Peer review
Peer review information
Nature Communications thanks the other anonymous reviewer(s) for their contribution to the peer review of this work.
Additional information
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Supplementary information
Source data
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
AbdulJabbar, K., Castillo, S.P., Hughes, K. et al. Bridging clinic and wildlife care with AI-powered pan-species computational pathology. Nat Commun 14, 2408 (2023). https://doi.org/10.1038/s41467-023-37879-x
Received:
Accepted:
Published:
DOI: https://doi.org/10.1038/s41467-023-37879-x