Skip to content

BWMR (Bayesian Weighted Mendelian Randomization)

Notifications You must be signed in to change notification settings

YangLabHKUST/BWMR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BWMR

BWMR (Bayesian Weighted Mendelian Randomization), is an efficient statistical method to infer the causality between a risk exposure factor and a trait or disease outcome, based on GWAS summary statistics. 'BWMR' package provides the estimate of causal effect with its standard error and the P-value under the test of causality.

Installation

To install the development version of BWMR, it's easiest to use the 'devtools' package.

# install.packages("devtools")
library(devtools)
install_github("YangLabHKUST/BWMR")

Usage

The 'BWMR' vignette will provide a good start point for Mendelian randomization analysis using BWMR package. The main function is BWMR. You can find examples by running

library(ggplot2)
library(BWMR)
example(BWMR)

Reference

Jia Zhao, Jingsi Ming, Xianghong Hu, Gang Chen, Jin Liu, Can Yang, Bayesian weighted Mendelian randomization for causal inference based on summary statistics, Bioinformatics, btz749, https://doi.org/10.1093/bioinformatics/btz749

Development

This R package is developed by Jia Zhao ([email protected]).

Contact information

Please feel free to contact Jia Zhao ([email protected]) or Prof. Can Yang ([email protected]) if any questions.

About

BWMR (Bayesian Weighted Mendelian Randomization)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages