Code Monkey home page Code Monkey logo

lrt's Introduction

LRT: likelihood ratio test for SNP set association based on mixed models

Introduction

Likelihood ratio test (LRT) is a R procedure for examining the association of a set of genetic variants (e.g. rare or common SNPs) under the framework of linear mixed models. Very similar to the popular SKAT method which conducts the score test, LRT uses likelihood ratio test to test for the association by testing the variance component parameter.

Specifically, let y be a n by 1 vector of continuous phenotypes on n individuals, X is a n by p matrix for covariates, and G is a n by m matrix for genotypes of SNPs for a genetic region (i.e., gene). We relate y, X and G by a linear mixed model:

y = Xa + Gb + e; b ~ N(0, sigam_g2), e ~ N(0, sigam_e2) 

Above, sigam_g2 is the genetic variance, and sigam_e2 is residual variance.

LRT examines the association of G with y (while controling for X) by testing for:

H0: b = 0; <==>, H0: sigam_g2 = 0

The LRT statistic is defined as the difference of log-likelihood value between the null model (i.e. y = Xa + e) and the alternative model (i.e. y = Xa + Gb + e). Due to the limited parameter space of sigam_g2, obtaining the null distribution of the LRT statistic is not trivial. We use the method of spectral decomposition proposed by Crainiceanu & Ruppert (2004) to generate the exact finite sample null distribution (implemented via the R package RLRsim).

Note

The LRT procedure was finished in about 2013. At that time, the author (i.e., Ping Zeng) was a newer and was outside the door of statistical genetics. Thus, you will find that this procedure was not well designed. I put it here for a beautiful recall of that time.

A new LRT R function, named ReLRT, was recently rewritten. We applied ReLRT to detect eGenes in gene expression data using cis-SNPs.  ReLRT esimates the linear mixed models basde on lme function in R package nlme and thus is more efficient than pervious LRT. ReLRT also perfroms the approximate LRT (aLRT) using a mixture null distribution. We call the original LRT via the simulation-based algrithmn exact LRT (eLRT).

References

  • Ping Zeng, Yang Zhao, Jin Liu, Liya Liu, Liwei Zhang, Ting Wang, Shuiping Huang and Feng Chen. Likelihood Ratio Tests in Rare Variant Detection for Continuous Phenotypes. Annals of Human Genetics, 2014, 78(5): 320-332. DOI: 10.1111/ahg.12071

  • Ping Zeng, Ting Wang and Shuiping Huang (2017). Cis-SNPs Set Testing and PrediXcan Analysis for Gene Expression Data using Linear Mixed Model. Scientific Reports (in press).

  • Ciprian M. Crainiceanu and David Ruppert. Likelihood ratio tests in linear mixed models with one variance component. Journal of the Royal Statistical Society: Series B (Statistical Methodology), 2004, 66(1): 165–185. DOI: 10.1111/j.1467-9868.2004.00438.x

  • Fabian Scheipl, Sonja Greven and Helmut Küchenhoff. Size and power of tests for a zero random effect variance or polynomial regression in additive and linear mixed models. Computational Statistics & Data Analysis, 2008, 52(7): 3283-3299. DOI: 10.1016/j.csda.2007.10.022

  • R Core Team. R: A language and environment for statistical computing. R Foundation for Statistical Computing, Vienna, Austria, 2013 (https://www.R-project.org/).

Cite

Ping Zeng, Yang Zhao, Jin Liu, Liya Liu, Liwei Zhang, Ting Wang, Shuiping Huang and Feng Chen. Likelihood Ratio Tests in Rare Variant Detection for Continuous Phenotypes. Annals of Human Genetics, 2014, 78(5): 320-332. DOI: 10.1111/ahg.12071

Contact

I am very grateful to any questions, comments, or bugs reports; and please contact Ping Zeng via [email protected] or [email protected].

lrt's People

Contributors

biostatpzeng avatar

Watchers

James Cloos 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.