Giter Site home page Giter Site logo

mqtl_analysis_example's Introduction

Replication of an mQTL analysis using the LOCUS method on simulated data

Overview

A molecular quantitative trait locus analysis is performed using our variational inference procedure for combined predictor and outcome selection implemented in the R package locus. This example reproduces the application given in H. Ruffieux, A. C. Davison, J. Hager, I. Irincheeva, Efficient inference for genetic association studies with multiple outcomes, Biostatistics, 2017.

Data

As the genotying datasets cannot be provided for privacy reasons, we simualted SNPs and outcomes using the R package echoseq to try to emulate the real (lipid)-mQTL data analyzed. The simulated dataset can be downloaded here.

Algorithm

The package locus used for the analysis may be installed with the devtools command

devtools::install_github("hruffieux/locus", ref = "v0.5.0")

where ref = v0.5.0 indicates the git tag corresponding to the package version we used.

IMPORTANT NOTE: this is an old version of the package, which corresponds to that used in the above-cited paper. The newest version of the package has improved scalability and memory management and should be used instead for new analyses.

Workflow

The scripts should be executed in the following order:

  1. replicate_real_data_pb.R (analysis using locus) and replicate_real_data_pb_varbvs.R (analysis applying the single-trait variational method "varbvs" by Carbonetto and Stephens, 2012, Bayesian Analysis 7);

  2. replicate_perm.R (analysis on permuted data with locus) and replicate_perm_varbvs.R (idem but with varbvs); and

  3. replicate_FDR_estimation.R (FDR-based comparison of locus and varbvs) and manhattan.R (manhattan plots for inference with locus and varbvs).

Issues

To report an issue, please use the issue tracker at github.com.

mqtl_analysis_example's People

Contributors

hruffieux avatar

Stargazers

 avatar  avatar  avatar

Watchers

 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.