Search bioRxiv⌕ Search

bioRxiv · 10.64898/2025.12.29.696912

Python Encoders for Archetypal Convex Hulls (PEACH): PyTorch-Based Archetypal Analysis

Abstract

Samples of closely related cells often contain substantial cell state heterogeneity, which traditional clustering-based analyses struggle to de-convolve. Archetype analysis is an alternative analysis approach that identifies a minimal convex hull enclosing all data points in a dimensionally-reduced space, such as PCA space. The points of this convex manifold, or hull, each represent theoretical extremal states specialized in a subset of functions that are mutually exclusive to the extremal states found at each other vertex. The transition between two points represents a Pareto front of tradeoffs between potential cell states. Cell distances from each archetype and direction between archetypes then carry interpretable biological information revealing features of resource tradeoffs in cell state regulation. The archetypal points themselves are theoretical pure extremal states rarely accessed by real cells, which instead display a combination of archetype weights/mixture coefficients representing a mixture of specializations. By characterizing the relationships between gene expression and archetype distance, archetypal analysis can identify the phenotypic features of theoretically pure specialist states, the phenotypic tradeoffs of real cells, and the boundaries of accessible cell states in the analyzed sample. Here we present Python Encoders for Archetypal Convex Hulls (PEACH), a new PyTorch-based archetype analysis package compatible with the scVerse ecosystem that recapitulates and extends features available in previous archetype analysis packages. This includes a hyperparameter search function to identify the best k archetypes that fit an input dataset. PEACH uses a deliberately constrained autoencoder architecture to directly learn an archetypal latent space, replacing previous alternating least squares methods with a highly performant, GPU-accelerated archetype analysis method that is scalable to modern scRNAseq datasets of hundreds of thousands of cells. Crucially, PEACH includes automated hyperparameter search with cross-validation to identify optimal archetype and initialization configurations, enabling users to implement archetype analysis without extensive manual hyperparameter optimization and testing.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Honkala, A.. 2025-12-29. Python Encoders for Archetypal Convex Hulls (PEACH): PyTorch-Based Archetypal Analysis. https://doi.org/10.64898/2025.12.29.696912

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

KEEP EXPLORING

Related preprints

INFORME: coupling information-theoretic experimental design with nonlinear mixed-effects modeling for efficient observation scheduling

Mathematical models of treatment response can inform individualized therapy, but their calibration often requires longitudinal measurements that are costly, burdensome, and collected on fixed schedules. Such schedules may be inefficient, over-sampling patients whose response is already well characterized while delaying informative measurements for those whose model parameters remain uncertain. We present INFORME (INFORmation-theoretic design with Mixed Effects), a framework that combines Bayesian information-theoretic experimental design with nonlinear mixed-effects modeling to adaptively select each patients next measurement time. Population and response-subgroup parameter distributions learned from an existing cohort provide informative priors, allowing candidate measurement times to be ranked by their expected reduction in patient-specific parameter uncertainty. As observations accumulate, priors can be updated to reflect the response subgroup most consistent with the patients data. We evaluate INFORME in two radiotherapy datasets: 150 synthetic tumor volume trajectories from a hybrid cellular automaton model of prostate cancer spheroids (HD1) and longitudinal tumor volumes from 39 patients with head-and-neck cancer (HD2). In HD1, population priors allowed omission of both pretreatment scans, while adaptive scheduling reduced the protocol from nine scans to three or four, with the response group identified from a single post-treatment scan on day 27. In HD2, the adaptive schedule used three scans instead of six and improved prediction by delaying the first on-treatment scan from week 1 to week 2, avoiding transient dynamics that produced false-positive and false-negative response projections. Across both datasets, the adaptive schedules used a mean of 2.7 scans in stead of seven and advanced completion of the patient-specific prediction by a mean of 15.5 days (95% CI, 6.7-24.3) relative to the equidistant protocol, while treatment duration remained unchanged. INFORME therefore reduces measurement burden and accelerates patient-specific prediction by concentrating observations at times that are most informative for model calibration.

systems biology↗

Sobetirome, a thyroid hormone receptor beta agonist, is a potential therapeutic agent for pulmonary fibrosis

Idiopathic pulmonary fibrosis (IPF) is a progressive and fatal disease with limited treatment options. Our group previously identified the antifibrotic potential of thyroid hormone, triiodothyronine (T3); however, clinical translation of thyroid hormone therapy is limited by its systemic adverse effects. In this study, we investigate whether sobetirome, a selective and well tolerated thyroid hormone receptor beta (THRB) agonist, offers antifibrotic benefits of thyroid hormone while minimizing systemic toxicity. Our study reveals that sobetirome, administered via intraperitoneal or inhalational routes, effectively mitigates bleomycin-induced pulmonary fibrosis in mice, with no evidence of toxicity. We identified that sobetirome restores mitochondrial homeostasis via activating the THRB-PPARGC1a axis. This protects alveolar type II epithelial cells from injury-induced apoptosis while selectively inducing apoptosis and metabolic reprogramming in apoptosis resistant IPF fibroblasts. Cell-specific deletion of Ppargc1a in either alveolar epithelial cells or fibroblasts abolishes sobetirome-mediated protection, establishing PPARGC1a as an essential mediator of therapeutic response. Importantly, sobetirome reverses fibrosis-associated transcriptional programs in human IPF lung tissue, reducing expression of key fibrosis-associated genes, including collagen I alpha 1 (COL1A1), collagen III alpha 1 (COL3A1), periostin (POSTN), cathepsin K (CTSK), and Chitinase 3 Like 1 (CHI3L1), while promoting extracellular matrix remodeling, epithelial restoration, and tissue homeostasis. Collectively, our findings identify THRB activation as a novel metabolic strategy for reversing pulmonary fibrosis. Across complementary in vitro, in vivo, and human ex vivo models, sobetirome restores mitochondrial function, modulates apoptotic pathways in pathogenic cells, and promotes fibrosis resolution, highlighting its potential as a lung-targeted therapeutic approach for IPF and other fibrotic lung diseases.

systems biology↗

Mechanistic modeling of bacterial translation initiation across growth conditions

Translation frequency in bacteria depends on how ribosomes, mRNAs, and initiation factors are allocated across growth conditions. Here, we developed a mechanistic ODE-based model of Escherichia coli translation that represents initiation, elongation, termination, and coupled auxiliary processes. Growth-dependent abundances were derived from physiological relationships and reprocessed omics data, and simulated outputs were compared with translation-frequency and active-ribosome references. The model predicts a continuous shift from complex-formation-limited toward ribosome-limited behavior as growth increases. This shift is characterized by a decline in free-ribosome abundance, whereas initiation-factor pools remain largely unbound and do not become depleted in parallel. Together with the implemented IF-dependent kinetic term, this preserved availability provides a model-internal route through which productive initiation can be maintained despite increasing ribosome utilization. Consistently, transcript-wide ribosome loading remains below its theoretical maximum, while COG-level simulations reveal distinct sector-specific translation-frequency trajectories. The study therefore provides a resource-allocation framework for interpreting how mRNA--ribosome interactions shape bacterial translation across growth conditions.

systems biology↗