

# Two sample MR report

---

## HLA-DQB2_Macrophages against UKB-b-18436

Date: **13 January, 2026**

---

### Results from two sample MR:


|method                    | nsnp|          b|        se|      pval|
|:-------------------------|----:|----------:|---------:|---------:|
|MR Egger                  |   10| -0.0523423| 0.0531225| 0.3533288|
|Weighted median           |   10| -0.0358105| 0.0133414| 0.0072711|
|Inverse variance weighted |   10| -0.0308153| 0.0142531| 0.0306174|
|Simple mode               |   10| -0.0662091| 0.0243156| 0.0234957|
|Weighted mode             |   10| -0.0633419| 0.0218946| 0.0177961|

---

### Heterogeneity tests


|method                    |        Q| Q_df|    Q_pval|
|:-------------------------|--------:|----:|---------:|
|MR Egger                  | 23.26111|    8| 0.0030447|
|Inverse variance weighted | 23.77966|    9| 0.0046636|

--- 

### Test for directional horizontal pleiotropy


| egger_intercept|        se|      pval|
|---------------:|---------:|---------:|
|       0.0152616| 0.0361388| 0.6839237|

--- 

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


| snp_r2.exposure| snp_r2.outcome|correct_causal_direction | steiger_pval|
|---------------:|--------------:|:------------------------|------------:|
|       0.0001117|              0|TRUE                     |    0.3200845|

Note - R^2 values are approximate

---

### Forest plot of single SNP MR

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

---

### Comparison of results using different MR methods

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

---

### Funnel plot

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

---

### Leave-one-out sensitivity analysis

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