Giter Club home page Giter Club logo

gridlmm's Introduction

GridLMM is a package for fitting linear mixed models (LMMs) with multiple random effects.

The fitting process is optimized for repeated evaluation of the random effect model with different sets of fixed effects, ex. for GWAS analyses. The approximation is due to the use of a discrete grid of possible values for the random effect variance component proportions. We include functions for both frequentist and Bayesian GWAS, (Restricted) Maximum Likelihood evaluation and Bayesian Posterior inference of variance components.

Please treat this as a Beta version and let me know of issues running the functions.

Installation:

devtools::install_github('deruncie/GridLMM')

Main functions:

  • GridLMM_ML: estimates parameters of a LMM by (restricted) Maximum Likelihood
  • GridLMM_posterior: Approximates the posterior distribution of the variance component proportions of a LMM
  • GridLMM_GWAS: Runs a GWAS with the error structure a LMM. By default, uses heuristics to efficiently sample the grid. Can run Wald tests (method = 'REML'), Likelihood ratio tests (method = 'ML'), or calculate Bayes Factors (method = 'BF')

Examples:

There is a vignette walking through the data format necessary for GridLMM and a few analyses using GridLMM_GWAS.

If you would like to build the vignette (see below), do:

devtools::install_github('deruncie/GridLMM', build_opts = c("--no-resave-data", "--no-manual"),force = TRUE,build_vignettes = TRUE)
vignette(topic = 'Running_GridLMM_GWAS',package='GridLMM')

gridlmm's People

Contributors

deruncie 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.