/InstrumentalVariableOptimizer-IVO

Primary LanguageRGNU General Public License v3.0GPL-3.0

InstrumentalVariableOptimizer(IVO)

Prerequisite

R - 4.3.2
Libraries

  1. MRInstruments
  2. MendelianRandomization
  3. ggplot2
  4. plotly
  5. TwoSampleMR
  6. MRPRESSO

Content

IVO.R
InstrumentalVariableOptimizer function to calculate t-statistics and select optimized instrumental variables

single_sample_dataset_IVO.R
Preprocessing and MR analysis of single-sample genotype data (America)

two_sample_datasets_IVO.R
Retrieval and MR analysis of two-sample MR datasets-

  • Total cholesterol and CAD (East Asia)
  • Liver iron content and Liver cancer (Europe)
  • Childhood obesity and Knee and hip osteoarthritis (Europe)
  • Total cholesterol and CAD (Europe)