Package: TransHDM Title: High-Dimensional Mediation Analysis via Transfer Learning Version: 1.1.3 Authors@R: c( person(given="Huer", family="Gao", email="26111020050@m.fudan.edu.cn", role=c("aut", "cre","cph")), person(given="Lulu", family="Pan", email="25111020061@m.fudan.edu.cn", role = c("aut","cph")), person(given="Yongfu", family="Yu", role = c("ctb","cph")), person(given="Guoyou", family="Qin", role=c("ctb","cph")) ) Description: 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) . License: GPL (>= 3) URL: https://github.com/Gaohuer/TransHDM Encoding: UTF-8 Roxygen: list(markdown = TRUE) 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), ggplot2 (>= 3.4.0) Suggests: knitr (>= 1.50), rmarkdown (>= 2.30), spelling (>= 2.3.2), dplyr (>= 1.0.0), tidyr (>= 1.0.0), ggrepel (>= 0.9.0) Language: en-US VignetteBuilder: knitr LazyData: true Config/roxygen2/version: 8.0.0 Config/pak/sysreqs: libicu-dev Repository: https://gaohuer.r-universe.dev Date/Publication: 2026-08-24 08:11:34 UTC RemoteUrl: https://github.com/gaohuer/transhdm RemoteRef: HEAD RemoteSha: b6fabb41c5e0a1bead03505f7b2520f10240f9de NeedsCompilation: no Packaged: 2026-10-23 11:00:34 UTC; root Author: Huer Gao [aut, cre, cph], Lulu Pan [aut, cph], Yongfu Yu [ctb, cph], Guoyou Qin [ctb, cph] Maintainer: Huer Gao <26111020050@m.fudan.edu.cn>