Skip to content

MRCIEU/gwasglue

master
Switch branches/tags
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
May 19, 2021
Feb 24, 2021
Feb 24, 2021
May 7, 2021
upd
Apr 12, 2021
May 19, 2021
Nov 6, 2019
Nov 4, 2019
Nov 4, 2019
Nov 4, 2019
May 19, 2021

gwasglue

Lifecycle: experimental Codecov test coverage R build status

Under development

This R package serves as a conduit between packages that can read or query GWAS summary data, and packages that can analyse GWAS summary data. Here is where it lies in the general ecosystem of GWAS data and analysis:

schematic

The figure above depicts a set of packages that we plan to connect to. Here is a list of what has been done and what is still to do:

Data sources

Finemapping

Colocalisation

Mendelian randomization

Visualisation

Installation

You can install the development version of gwasglue with:

devtools::install_github("mrcieu/gwasglue")

Usage

See vignettes etc here: https://mrcieu.github.io/gwasglue.

Reference datasets

Example GWAS VCF (GIANT 2010 BMI):

Updated 1000 genomes LD reference panels (multiple populations):

1kg European reference panel for LD (legacy):

1kg vcf harmonised against human genome reference:

Contributing to the resource

For any <analysis> package we create a new file called R/<analysis>.r which contains two functions:

  • gwasvcf_to_<analysis>
  • ieugwasr_to_<analysis>

For an example, see the R/TwoSampleMR.r file, which contains the functions gwasvcf_to_TwoSampleMR and ieugwasr_to_TwoSampleMR.

About

Linking GWAS data to analytical tools in R

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Packages

No packages published

Languages