Bayesian Latent Functional Mediation Analysis with Application to Population-Scale Single-Cell Data
Abstract
Population-scale single-cell RNA sequencing studies pair cell-level gene expression with donor-level genotypes, enabling investigation of genetic regulation across cellular states.
Mediation analysis in this setting must account for cells nested within donors and for unobserved cellular states.
We propose a Bayesian latent functional mediation model that decomposes the association between genotype and distal gene expression into a component mediated through a candidate cis gene and a remaining direct component.
The model represents expression as donor-specific trajectories over a shared latent state coordinate constrained by coarse cell annotations.
Joint inference propagates uncertainty in latent states, trajectories, and mediation parameters into state-specific effect functions and their integrated summaries.
Simulations show that effect recovery improves with the number of donors and that averaging expression within donors can change the mediated and direct components even when the total association is preserved.
In 403,087 CD4+ T cells from 961 OneK1K donors, higher rs1131017 G-allele dosage was associated with higher RPS26 expression across the fitted state domain.
The estimated RPS26-mediated component of the association with BAX expression was negative over most of the domain and was partly offset by a positive direct component, yielding a smaller negative integrated total association.
In sensitivity analyses conditional on estimated donor trajectories, all three integrated effects retained their signs, with 95% credible intervals excluding zero, at the five examined coefficient-level residual correlations with $|\rho_s|\leq 0.3$.
The mediated and direct effects reversed signs at $\rho_s=-0.5$, while the integrated total association remained negative across all seven tested settings.