GithubHelp home page GithubHelp logo

christho23 / snpnet Goto Github PK

View Code? Open in Web Editor NEW

This project forked from junyangq/snpnet

0.0 0.0 0.0 7.6 MB

snpnet: Fast and scalable lasso/elastic-net solver for large SNP data

Shell 5.52% R 64.77% HTML 29.71%

snpnet's Introduction

Snpnet - Efficient Lasso Solver for Large-scale SNP Data

License: GPL-2

References:

  • Junyang Qian, Yosuke Tanigawa, Wenfei Du, Matthew Aguirre, Robert Tibshirani, Manuel A. Rivas, and Trevor Hastie. A fast and scalable framework for large-scale and ultrahigh-dimensional sparse regression with application to the UK Biobank. PLOS Genetics 16(10): e1009141. https://doi.org/10.1371/journal.pgen.1009141
  • Ruilin Li, Christopher Chang, Johanne M Justesen, Yosuke Tanigawa, Junyang Qian, Trevor Hastie, Manuel A Rivas, Robert Tibshirani, Fast Lasso method for large-scale and ultrahigh-dimensional Cox model with applications to UK Biobank, Biostatistics, , kxaa038, https://doi.org/10.1093/biostatistics/kxaa038

Installation:

Most of the requirements of snpnet are available from CRAN. It also depends on the pgenlibr, glmnet/glmnetPlus and cindex (for survival analysis) packages. One can install them by running the following commands in R. Notice that the installation of pgenlibr requires zstd(>=1.4.4). It can be built from source or simply available from conda, pip or brew.

install.packages("devtools", repos = "http://cran.us.r-project.org", Ncpus=8)
library(devtools)
install_github("junyangq/glmnetPlus", Ncpus=8)
install_github("chrchang/plink-ng", subdir="/2.0/cindex", Ncpus=8)
install_github("chrchang/plink-ng", subdir="/2.0/pgenlibr", Ncpus=8)
install_github("christho23/snpnet", Ncpus=8)
library(snpnet)

We assume the users already have PLINK 2.0. Otherwise it can be installed from https://www.cog-genomics.org/plink/2.0/.

snpnet's People

Contributors

junyangq avatar yk-tanigawa avatar ruilinli avatar christho23 avatar marivascruz 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.