Skip to content
Bayesian Weighted Mendelian Randomization (BWMR)
Branch: master
Clone or download
Latest commit 91dcd02 Jun 25, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R
data Add files via upload Feb 21, 2019
man
BWMR-master.Rproj Add files via upload Feb 21, 2019
BWMR.Rproj Add files via upload Feb 21, 2019
DESCRIPTION Add files via upload Feb 21, 2019
NAMESPACE Add files via upload Feb 21, 2019
README.md Add files via upload Feb 21, 2019

README.md

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("jiazhao97/BWMR")

Usage

The main function is BWMR. You can find an example by running

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

Development

This R package is developed by Jia Zhao.

You can’t perform that action at this time.