Code Monkey home page Code Monkey logo

fcfdr's Introduction

fcfdr

fcfdr is an all-encompassing R package to implement the cFDR approach for a variety of auxiliary covariates. As input it requires GWAS p-values for a trait of interest and auxiliary data values. It then outputs “v-values” which can be interpreted as GWAS p-values that have been adjusted using the auxiliary data values.

If you have any questions please do not hesitate to contact me: [email protected]

Webpage: https://annahutch.github.io/fcfdr/

GitHub repository: https://github.com/annahutch/fcfdr


Manuscripts

Flexible cFDR:

Hutchinson A, Reales G, Willis T, Wallace C (2021) Leveraging auxiliary data from arbitrary distributions to boost GWAS discovery with Flexible cFDR. PLoS Genet 17(10): e1009853. https://doi.org/10.1371/journal.pgen.1009853

Binary cFDR:

Hutchinson A, Liley J, Wallace C (2021) fcfdr: an R package to leverage continuous and binary functional genomic data in GWAS. bioRxiv 2021.10.21.465274. https://doi.org/10.1101/2021.10.21.465274


Installation

You can install fcfdr from GitHub with:

# install.packages("devtools")
devtools::install_github("annahutch/fcfdr")

Examples

See the vignettes for examples of usage.


Brief history of cFDR

The cFDR framework was first introduced by Andreassen and colleagues in 2013. The group also applied the approach to uncover new genetic associations for blood pressure and multiple sclerosis by leveraging GWAS test statistics for related traits.

In 2015, Liley and Wallace showed that the conventional cFDR approach does not control the frequentist FDR and described an extension of the approach to ensure that FDR is controlled, however their approach is rather conservative. In 2021, Liley and Wallace described an elegant cFDR framework that takes as input GWAS p-values for related traits and returns “v-values” which can be interpreted as GWAS p-values that have been adjusted using the auxiliary related trait data, and thus can be used directly in any error-rate controlling procedure (e.g. Benjamini-Hochberg).

Up until this point, the cFDR framework was designed for a very specific setting, that is to increase GWAS discovery (in the “principal trait”) by leveraging GWAS test statistics from a genetically related (“conditional”) trait. In 2021 we described an extension of the cFDR framework called Flexible cFDR that allows for auxiliary covariates sampled from arbitrary continuous distributions to be leveraged with GWAS test statistics - thus enabling broader applicability. We also describe an extension for binary covariates, called Binary cFDR. In practice, Flexible cFDR and Binary cFDR can be used to leverage functional genomic data with GWAS results to boost power for GWAS discovery whilst controlling the FDR.

fcfdr's People

Contributors

annahutch avatar twillis209 avatar chr1swallace 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.