

# Two sample MR report

---

## Pancreatic cancer || id:ebi-a-GCST90018893 against Type 2 diabetes || id:ebi-a-GCST90018926

Date: **26 December, 2025**

---

### Results from two sample MR:


|method                    | nsnp|     b|    se|  pval|
|:-------------------------|----:|-----:|-----:|-----:|
|MR Egger                  |   19| 0.023| 0.020| 0.283|
|Weighted median           |   19| 0.015| 0.013| 0.250|
|Inverse variance weighted |   19| 0.010| 0.010| 0.287|
|Simple mode               |   19| 0.018| 0.025| 0.496|
|Weighted mode             |   19| 0.018| 0.026| 0.492|

---

### Heterogeneity tests


|method                    |    Q| Q_df| Q_pval|
|:-------------------------|----:|----:|------:|
|MR Egger                  | 20.0|   17|  0.272|
|Inverse variance weighted | 20.6|   18|  0.300|

--- 

### Test for directional horizontal pleiotropy


| egger_intercept|    se|  pval|
|---------------:|-----:|-----:|
|          -0.004| 0.006| 0.497|

--- 

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


| snp_r2.exposure| snp_r2.outcome|correct_causal_direction | steiger_pval|
|---------------:|--------------:|:------------------------|------------:|
|               0|              0|TRUE                     |         0.92|

Note - R^2 values are approximate

---

### Forest plot of single SNP MR

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

---

### Comparison of results using different MR methods

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

---

### Funnel plot

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

---

### Leave-one-out sensitivity analysis

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