Skip to content

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

Notifications You must be signed in to change notification settings

junyangq/snpnet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

library(devtools)
install_github("junyangq/glmnetPlus")
install_github("chrchang/plink-ng", subdir="/2.0/cindex")
install_github("chrchang/plink-ng", subdir="/2.0/pgenlibr")

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •