bioRxiv Science⌕ Search

bioRxiv · 10.1101/2025.04.04.647194

StainStyleSampler: Clustering-based sampling of whole slide image appearances

Abstract

The appearance of whole slide biopsy images is greatly affected by various factors such as laboratory procedures or the choice of digital slide scanners. The resulting variations in image styles within and across batches of histological images represent one of the major obstacles to the development of generalizable machine learning algorithms. To overcome this challenge, a lot of research has focused on stain normalization and stain augmentation techniques. While such approaches provide effective strategies to reduce stain variation or increase stain invariance, respectively, they typically involve only limited modeling or sampling of the underlying stain style distribution. Tools for a streamlined sampling of different aspects of such a distribution, which would be crucial e.g. for explicitly evaluating machine learning robustness across or with respect to major stain styles, remain largely missing. Here, we present the StainStyleSampler, a toolkit for (i) the exploration and modeling of stain style variations, and (ii) the automated sampling of images or styles capturing the core components of this variation. The tool enables the extraction of various color features and deconvolved stain components, visualization of such features directly or after dimensionality reduction, modeling of style distributions using binning, clustering, and density mapping, and automated sampling of the most representative reference images. We believe that this software will equip pathologists and computer-scientists with a more versatile set of tools that can aid substantially in both the exploration and sampling of stain variation across whole slide images.

Source connections

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Silva, M. M. B., Leh, S., Weishaupt, H.. 2025-04-09. StainStyleSampler: Clustering-based sampling of whole slide image appearances. https://doi.org/10.1101/2025.04.04.647194

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related preprints

NAE1-Dependent Protein Neddylation Preserves Endothelial Identity and Vascular Integrity

Background: Endothelial dysfunction is a central driver of cardiovascular and inflammatory diseases, yet the post-translational mechanisms that preserve endothelial homeostasis remain incompletely understood. Protein neddylation, the covalent conjugation of a ubiquitin-like modifier, regulates diverse cellular processes, yet its physiological role in the vascular endothelium remains unknown. This study investigated whether protein neddylation is required to preserve endothelial identity and vascular homeostasis. Methods: We generated tamoxifen-inducible endothelial-specific Nae1 knockout mice to inhibit neddylation and combined bulk RNA sequencing, single-cell and single-nucleus transcriptomics, quantitative proteomics, biochemical analyses, and gain- and loss-of-function approaches to define the role of endothelial neddylation in vascular homeostasis and inflammatory injury. Results: Endothelial-specific Nae1 deletion caused rapid mortality associated with vascular leakage, platelet accumulation, inflammation, and multi-organ injury. Multi-omics analyses demonstrated profound loss of endothelial identity, characterized by suppression of core endothelial programs and activation of inflammatory, procoagulant, and pyroptotic pathways. Single-cell analyses revealed progressive endothelial dysfunction culminating in depletion of the endothelial population and remodeling of the vascular niche. Mechanistically, endothelial neddylation deficiency activated gasdermin D (GSDMD)- and gasdermin E (GSDME)-dependent pyroptosis, whereas dual inhibition of GSDMD and GSDME markedly attenuated inflammatory transcriptomic remodeling, vascular injury, hepatocyte death, immune cell infiltration, and platelet accumulation. Translational analyses demonstrated reduced endothelial neddylation in experimental endotoxemia and decreased expression of neddylation pathway components in human atherosclerosis and COVID-19 datasets. Conversely, restoration of endothelial neddylation partially reversed inflammatory endothelial transcriptomic reprogramming in vivo. Conclusions: NAE1-dependent protein neddylation is an essential regulator of endothelial identity and vascular integrity. Loss of endothelial neddylation promotes gasdermin-dependent pyroptosis and thrombo-inflammatory vascular injury, whereas restoration of the neddylation pathway mitigates inflammatory endothelial dysfunction. These findings identify endothelial neddylation as a fundamental mechanism maintaining vascular homeostasis and a potential therapeutic target for cardiovascular and inflammatory diseases.

pathology↗

Multi-component functionalized Bifidobacterium longum hydrogel for multi-target integrated therapy of colitis-associated anxiety and depression

Inflammatory bowel diseases (IBDs) are frequently accompanied by anxiety and depression, largely driven by perturbed gut-brain axis signaling. However, current oral therapies remain constrained by the spatial and functional separation between intestinal inflammation and central nervous system dysfunction. Here, we present a comprehensive gut-brain dual region integrated therapeutic strategy based on functionalized Bifidobacterium longum hydrogel (INPs@BL@Gel), in which baicalin and tyrosine are coordinated with Fe(III) to form infinite coordination polymers (ICPs), coated with inulin, assembled onto Bifidobacterium longum (BL), and subsequently encapsulated within a pH- and matrix metalloproteinase-responsive silk fibroin-gelatin hydrogel. INPs@BL@Gel exhibits high drug-loading, effective gastric protection, inflammation-triggered release, and long-term intestinal colonization. Within the inflamed intestine, BL and components synergistically suppress inflammatory responses, restore gut microbiota homeostasis, and promote intestinal barrier repair through multi-target integrated therapy. Importantly, BL combined with components markedly enhances the production of beneficial neuroactive metabolites such as homovanillic acid and short-chain fatty acids, which integrated regulate neuroinflammation, preserve synaptic function, and facilitate blood-brain barrier repair via the gut-brain axis. In vivo studies demonstrate that INPs@BL@Gel not only exert potent therapeutic efficacy against colitis and effectively alleviate associated depression, but also reshape the gut microbiota and restore barrier integrity, achieving an remarkable comprehensive therapeutic effect. O_FIG O_LINKSMALLFIG WIDTH=158 HEIGHT=200 SRC="FIGDIR/small/710940v1_fig1a.gif" ALT="Figure 11"> View larger version (59K): org.highwire.dtl.DTLVardef@1a831f3org.highwire.dtl.DTLVardef@1676617org.highwire.dtl.DTLVardef@15f99c1org.highwire.dtl.DTLVardef@1677cc4_HPS_FORMAT_FIGEXP M_FIG O_FLOATNOScheme 1.C_FLOATNO (a) Schematic diagram of the design and preparation of functionalized Bifidobacterium longum hydrogel. (b) Exploration of the mechanism of INPs@BL@Gel in treating colitis-associated anxiety and depression through a dual-site multi-target synergistic strategy. C_FIG

pathology↗

Inducible activation of PKA in osteoblasts causes a profound high bone turnover phenotype similar to human diseases

Protein kinase A (PKA) is involved in bone biology and is a key mediator of parathyroid hormone signaling in the osteoblast. However, the consequences of sustained PKA activation in bone are unclear. In this study, we inducibly activated PKA in osteoblasts by deleting its major regulatory subunit, Prkar1a, using a Col11-driven Cre system. Prkar1aob-/-mice demonstrated rapid and profound bone pathologies in their femurs, lumbar and caudal vertebrae with cortical bone breakdown and cortical trabecularization. This phenotype was characterized by increased bone turnover and elevated osteoblastic and osteoclastic activities. Transcriptomic and qPCR analyses showed an impairment of osteoblast differentiation with a defect in ossification, expansion of stromal cells, and numbers of both osteoblastic and osteoclastic precursors. Moreover, there were alterations in gene expression of chemokines and Wnt members with enhanced osteoclastogenesis. Altogether, activation of PKA in osteoblasts by inducible deletion of Prkar1a causes a profound high bone turnover phenotype resembling several human bone diseases.

pathology↗