Coder Social home page Coder Social logo

gwasglue's Introduction

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.

gwasglue's People

Contributors

explodecomputer avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.