The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

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>.

Version: 1.0.1
Depends: R (≥ 4.0.0)
Imports: glmnet (≥ 4.1-10), caret (≥ 7.0-1), MASS (≥ 7.3-61), doParallel (≥ 1.0.17), foreach (≥ 1.5.2), HDMT (≥ 1.0.5)
Suggests: knitr (≥ 1.50), rmarkdown (≥ 2.30), spelling (≥ 2.3.2)
Published: 2026-03-17
DOI: 10.32614/CRAN.package.TransHDM
Author: Huer Gao [aut, cre, cph], Lulu Pan [aut, cph], Yongfu Yu [ctb, cph], Guoyou Qin [ctb, cph]
Maintainer: Huer Gao <gaohuer at proton.me>
License: GPL (≥ 3)
URL: https://github.com/Gaohuer/TransHDM
NeedsCompilation: no
Language: en-US
Citation: TransHDM citation info
CRAN checks: TransHDM results

Documentation:

Reference manual: TransHDM.html , TransHDM.pdf
Vignettes: tutorial (source, R code)

Downloads:

Package source: TransHDM_1.0.1.tar.gz
Windows binaries: r-devel: TransHDM_1.0.1.zip, r-release: TransHDM_1.0.1.zip, r-oldrel: TransHDM_1.0.1.zip
macOS binaries: r-release (arm64): TransHDM_1.0.1.tgz, r-oldrel (arm64): TransHDM_1.0.1.tgz, r-release (x86_64): TransHDM_1.0.1.tgz, r-oldrel (x86_64): TransHDM_1.0.1.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=TransHDM to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.