Package: TransHDM
Title: High-Dimensional Mediation Analysis via Transfer Learning
Version: 1.0.1
Authors@R: 
    c(
    person(given="Huer", family="Gao", email="gaohuer@proton.me", 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) <doi:10.1093/bib/bbaf460>.
License: GPL (>= 3)
URL: https://github.com/Gaohuer/TransHDM
Encoding: UTF-8
RoxygenNote: 7.3.3
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)
Language: en-US
VignetteBuilder: knitr
NeedsCompilation: no
Packaged: 2026-03-12 13:09:14 UTC; DELL
Author: Huer Gao [aut, cre, cph],
  Lulu Pan [aut, cph],
  Yongfu Yu [ctb, cph],
  Guoyou Qin [ctb, cph]
Maintainer: Huer Gao <gaohuer@proton.me>
Repository: CRAN
Date/Publication: 2026-03-17 18:20:09 UTC
Built: R 4.6.0; ; 2026-04-25 13:53:58 UTC; unix
