

# Two sample MR report

---

## XBP1_Epithelial against bbj-a-88

Date: **13 January, 2026**

---

### Results from two sample MR:


|method                    | nsnp|          b|        se|      pval|
|:-------------------------|----:|----------:|---------:|---------:|
|MR Egger                  |   15| -0.0774455| 0.0604808| 0.2227463|
|Weighted median           |   15| -0.0244253| 0.0148327| 0.0996146|
|Inverse variance weighted |   15| -0.0232921| 0.0106386| 0.0285680|
|Simple mode               |   15| -0.0017696| 0.0312041| 0.9555769|
|Weighted mode             |   15| -0.0535225| 0.0280361| 0.0769677|

---

### Heterogeneity tests


|method                    |        Q| Q_df|    Q_pval|
|:-------------------------|--------:|----:|---------:|
|MR Egger                  | 15.02949|   13| 0.3055152|
|Inverse variance weighted | 15.98633|   14| 0.3142096|

--- 

### Test for directional horizontal pleiotropy


| egger_intercept|        se|     pval|
|---------------:|---------:|--------:|
|       0.0254907| 0.0280196| 0.379516|

--- 

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


| snp_r2.exposure| snp_r2.outcome|correct_causal_direction | steiger_pval|
|---------------:|--------------:|:------------------------|------------:|
|       0.0002204|              0|TRUE                     |    0.1591448|

Note - R^2 values are approximate

---

### Forest plot of single SNP MR

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

---

### Comparison of results using different MR methods

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

---

### Funnel plot

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

---

### Leave-one-out sensitivity analysis

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