Git Product home page Git Product logo

lskat's Introduction

LSKAT

LSKAT is an R program that performs association testing between a set of SNPs and a longitudinal quantitative trait in population samples. The main reference for this program is

Reference

Wang Z., Xu K., Zhang X., Wu X., and Wang Z., (2016) Longitudinal SNP-set association analysis of quantitative phenotypes. Genetic Epidemiology.

Abstract:

To do ...

Installation Instructions:

Required software and packages

  1. R (http://www.r-project.org/)

  2. Package SKAT, mvtnorm, snpStats, snowfall.

  3. PLINK 1.0 or 1.9 (https://www.cog-genomics.org/plink2)

Please install the required R package before you install LSKAT package. After the installation of SKAT, mvtnorm, snpStats and snowfall package, please install the LSKAT as following steps.

Install LSKAT on LUNIX or Mac OSX

git clone https://github.com/ZWang-Lab/LSKAT.git

R CMD INSTALL LSKAT

Install LSKAT on Windows

  1. Please download windows package from (https://github.com/ZWang-Lab/LSKAT/blob/master/LSKAT-win.zip)

  2. Install the package in R GUI by selecting the menu "Packages|Install package(s) from local zip files..."

##Usage instructions##

LSKAT is an R package which provides the main functions:

  1. NULL model estimation to estimate the model parameters and the residuals.
  1. Gene association test by LSKAT
  1. LSKAT pipeline for PLINK data set with longitudial phenotype traits.

In general, two ways are common to do data analysis by LSKAT, one is test the genetic association between the longitudinal phenotype traits and SNP-set genotypic matrix, i.e, test LSKAT using the SNP-set matrix given the estimated NULL model which assumes no genetic effects contibute to phenotype traits.

## NULL model estimation
r.model <- longskat_est_model( phe.long.matrix, phe.cov.matrix, phe.time.matrix);

## Gene association test
r.lskat <- longskat_gene_test( r.model, snp.mat);

Other way is to run LSKAT on whole PLINK data set using the pipeline provided by the function longskat_gene_plink

r.lskat <- longskat_gene_plink( file.plink.bed,  file.plink.bim,  file.plink.fam,  
    file.phe.long,  file.phe.cov, NULL,  file.gene.set );

All functions and examples in the LSKAT are available in the manual (https://github.com/ZWang-Lab/LSKAT/blob/master/manual.pdf).

lskat's People

Contributors

wangzuoheng avatar wzhy2000 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

insectopalo

lskat's Issues

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.