TransHDM: High-Dimensional Mediation Analysis via Transfer Learning

Provides a framework for high-dimensional mediation analysis using transfer learning. The main function TransHDM() integrates large-scale source data to improve the detection power of potential mediators in small-sample target studies. It addresses data heterogeneity via transfer regularization and debiased estimation while controlling the false discovery rate. The package also includes utilities for data generation (gen_simData_homo(), gen_simData_hetero()), baseline methods such as lasso() and dblasso(), sure independence screening via SIS(), and model diagnostics through source_detection(). The methodology is described in Pan et al. (2025) <doi:10.1093/bib/bbaf460>.

Package details

AuthorHuer Gao [aut, cre, cph], Lulu Pan [aut, cph], Yongfu Yu [ctb, cph], Guoyou Qin [ctb, cph]
MaintainerHuer Gao <26111020050@m.fudan.edu.cn>
LicenseGPL (>= 3)
Version1.1.6
URL https://github.com/Gaohuer/TransHDM 
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("TransHDM")

Try the TransHDM package in your browser

Any scripts or data that you put into this service are public.

TransHDM documentation built on Nov. 24, 2026, 9:06 a.m.