Skip to content

TransHDM

1.0.1

High-Dimensional Mediation Analysis via Transfer Learning

0packages depend
2Kdownloads / year
0.0%test coverage
12/13checks pass

Overview

About
Maintained by Huer GaoFirst published 2026-03-181 releasesCRAN page ↗GitHub ↗

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.

Install

Health

CRAN checks
1NOTE12OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-gcc
Slowest check: 7.3 min · r-devel-linux-x86_64-fedora-clang
Code health
Yes
Tests · ratio 0.00
0.0%
Coverage · measured lines
100%
Documentation · exports
6
Dependencies · direct
Check history
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-05-02
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-25
    11 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
Show 1 earlier snapshots
  • OK2026-03-18
    5 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
71%
Documented parameters
100%
Return-value docs
100%
References docs
8%

Downloads

2K
CRAN downloads in the past year
Rank #9,155 · ~5/day · ~164/mo
Daily download trend is not available in this view yet.
13830 days
1.1K90 days
2K1 year
Compare downloads with other packages →
Also on41 r2u

Repository

Repository
0Stars
0Forks
0Open issues
0Open PRs
0Releases
Last activity 2026-07-28

Repository practices

Upstream repositoryBeta

Checks run against github.com/gaohuer/transhdm on 2026-08-02.

No development-tooling practices detected in the upstream repository.

How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
8 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.0.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (4)
Maintainer (1)
Author, Maintainer, Copyright holder
Authors (2)
Author, Maintainer, Copyright holder
Author, Copyright holder
Contributors (2)
Contributor, Copyright holder
Contributor, Copyright holder
Copyright holders (4)
Author, Maintainer, Copyright holder
Author, Copyright holder
Contributor, Copyright holder
Contributor, Copyright holder
Package Timeline

1 release. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.0.1Latest
    2026-03-18 · current release
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2026-03-18
Total releases
1 / 1 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 4.0.0
Download size
not tracked yet
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy