

# Two sample MR report

---

## ERAP1_Macrophages against UKB-b-18436

Date: **13 January, 2026**

---

### Results from two sample MR:


|method                    | nsnp|          b|        se|      pval|
|:-------------------------|----:|----------:|---------:|---------:|
|MR Egger                  |    5| -0.1044917| 0.0969095| 0.3598983|
|Weighted median           |    5| -0.0594103| 0.0171204| 0.0005202|
|Inverse variance weighted |    5| -0.0564938| 0.0137106| 0.0000378|
|Simple mode               |    5| -0.0625049| 0.0222871| 0.0485866|
|Weighted mode             |    5| -0.0618205| 0.0219742| 0.0481539|

---

### Heterogeneity tests


|method                    |         Q| Q_df|    Q_pval|
|:-------------------------|---------:|----:|---------:|
|MR Egger                  | 0.2393576|    3| 0.9709986|
|Inverse variance weighted | 0.4896768|    4| 0.9744981|

--- 

### Test for directional horizontal pleiotropy


| egger_intercept|        se|      pval|
|---------------:|---------:|---------:|
|        0.024556| 0.0490806| 0.6512482|

--- 

### Test that the exposure is upstream of the outcome


| snp_r2.exposure| snp_r2.outcome|correct_causal_direction | steiger_pval|
|---------------:|--------------:|:------------------------|------------:|
|        7.27e-05|              0|TRUE                     |    0.4213997|

Note - R^2 values are approximate

---

### Forest plot of single SNP MR

![plot of chunk chunk5](figure/ERAP1Macrophages_against_UKBb18436chunk5-1.png)

---

### Comparison of results using different MR methods

![plot of chunk chunk6](figure/ERAP1Macrophages_against_UKBb18436chunk6-1.png)

---

### Funnel plot

![plot of chunk chunk7](figure/ERAP1Macrophages_against_UKBb18436chunk7-1.png)

---

### Leave-one-out sensitivity analysis

![plot of chunk chunk8](figure/ERAP1Macrophages_against_UKBb18436chunk8-1.png)
