knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

JAM: Joint Analysis of Marginal summary statistics

R build status

CRAN_Status_BadgeDownloads

About

In this package, we provide three JAM-family methods that utilize GWAS summary statistics to perform post-GWAS analysis, including Mendelian Randomization, TWAS, and multi-population fine-mapping.

hJAM

hJAM (hJAM) is a hierarchical model which unifies the framework of Mendelian Randomization and Transcriptome-wide association studies. The hJAM-Egger (hJAM_egger) is a natural extension on hJAM that uses an intercept term to account for the pleiotropy effect of the SNPs on the outcome.

Additionally, we provide implementations to construct the weight matrix A in hJAM. JAM_A converts the marginal summary statistics into conditional ones by using the correlation matrix of the SNPs from a reference data. susieJAM_A selects SNPs for one intermediate using the marginal summary statistics from GWAS or other study summary data.

SHA-JAM

SHA-JAM (SHAJAM) is a scalable version of hJAM that handles high-dimensional intermediates. SHA-JAM performs model selection from highly correlated intermediates through SuSiE: Sum of Single Effect Model (SHAJAM) or elastic-net (EN.hJAM).

mJAM

mJAM is for multi-population fine-mapping using GWAS summary statistics and credible set construction. We provide two implementations of mJAM: one through SuSiE (mJAM_SuSiE) and another one through forward selection (mJAM_Forward). mJAM_Forward also provides the flexiblity of constructing credible sets for using user-defined index SNPs. A tutorial to get started with mJAM can be found here.

Citing this work

Quick start with hJAM package

You can install the published version of hJAM from CRAN with:

install.packages("hJAM")

Currently we are working on improving hJAM package and adding genome-wide implementation of mJAM. If you want to use the most updated version of this package, we recommend installing the development version from GitHub with:

if (!require("devtools")) { install.packages("devtools") } else {}
devtools::install_github("USCbiostats/hJAM")

Session info

sessionInfo()


USCbiostats/hJAM documentation built on Jan. 26, 2024, 5:27 p.m.