Skip to content

This repository contains the code, but not the data, to reproduce the analyses in "A bidirectional Mendelian randomization study disentangling the causal relations between body fat distribution, fasting insulin levels and insulin secretion"

Notifications You must be signed in to change notification settings

gagelo01/FI_BMI

Repository files navigation

Code must be run in alphabetical order. For example : 1a_, then 1b_, then 2a_* The code is not self contained, because data bust maximum memory usage on GitHub. Hence, no data is given. However, link to the data can be found in the manuscript.

Code was performed in the R V.4.1.3 computing environment using publicly accessible functions from the TwoSampleMR V.0.5.6 https://github.com/MRCIEU/TwoSampleMR, The MendelianRandomization V.0.5.1 https://cran.rproject.org/web/packages/MendelianRandomization/index.html the data.table V.1.14.0 https://github.com/Rdatatable/data.table packages. The coloc package V.5.1.0 https://github.com/chr1swallace/coloc. The hyprcoloc package V.1.0 https://github.com/jrs95/hyprcoloc. The tidyverse V.1.3.1 collection of R packages, the gwasglue package V.0.0.0.9000 and the gwasvcf V.0.1.0 package was also used for data wrangling.

About

This repository contains the code, but not the data, to reproduce the analyses in "A bidirectional Mendelian randomization study disentangling the causal relations between body fat distribution, fasting insulin levels and insulin secretion"

Resources

Stars

Watchers

Forks

Packages

No packages published