How hide-in-lab/multi works
MULTI is an R package for multi-tissue Mendelian-randomization analysis. Users supply per-tissue IV-to-exposure and IV-to-outcome estimates, their standard errors, and LD matrices. The MULTI entry point estimates effects tissue by tissue, compares them with Hellinger distances, and identifies supportive tissues under a cutoff. Users then combine eligible IVs, re-estimate the LD matrix, and call MULTI_single for the final effect. README documents these stages; the source excerpt confirms the native estimation and distance calculations, but omits the remainder of MULTI’s selection logic.
Main entry points: MULTI.cpp MULTI Workflow · RcppExports.R R API
Components 11
R Interface
- R API
R/RcppExports.R
MULTI Analysis
- MULTI Workflow
src/MULTI.cpp - Per-tissue VEM
src/MULTI.cpp - Hellinger Distance
src/MULTI.cpp - Tissue Selection
src/MULTI.cpp - Similarity Results
Final Estimate
- Expanded IV Pool
- Final VEM Fit
src/MULTI.cpp - Causal Effect
Other components
- Researcher
- Tissue Inputs
Connections 16
- Researcher → R API: calls
- Researcher → Tissue Inputs: prepares
- Tissue Inputs → MULTI Workflow: supplies
- R API → MULTI Workflow: dispatches
- MULTI Workflow → Per-tissue VEM: fits tissues
- MULTI Workflow → Hellinger Distance: compares effects
- MULTI Workflow → Tissue Selection: applies cutoff
- Hellinger Distance → Tissue Selection: provides distances
- Tissue Selection → Similarity Results: returns selection
- Similarity Results → Researcher: reports
- Researcher → Expanded IV Pool: combines IVs
- Expanded IV Pool → Final VEM Fit: supplies data
- Researcher → R API: calls single fit
- R API → Final VEM Fit: dispatches
- Final VEM Fit → Causal Effect: returns estimate
- Causal Effect → Researcher: reports