Skip to main content

Python wrapper for EBglmnet

Project description

EBglmnet: Empirical Bayesian Lasso and Elastic Net Methods for Generalized Linear Models

Anhui Huang | Ph.D. Electrical and Computer Engineering

https://scholar.google.com/citations?user=WhDMZEIAAAAJ&hl=en

Provides empirical Bayesian lasso and elastic net algorithms for variable selection and effect estimation. Key features include sparse variable selection and effect estimation via generalized linear regression models, high dimensionality with p>>n, and significance test for nonzero effects. This package outperforms other popular methods such as lasso and elastic net methods in terms of power of detection, false discovery rate, and power of detecting grouping effects. Please reference its use as A Huang and D Liu (2016) doi:10.1093/bioinformatics/btw143.

PyPI installation

EBglmnet is available on PyPI: https://pypi.org/project/EBglmnet/1.0/. Run command pip install EBglmnet to install from PyPI.

test/ folder contains examples using data packed along with this package in data/ folder. To run test/ examples, clone this repo, and run from test/ directory.

Documentation

The theory and background for EBglmnet can be found in my Ph.D dissertation (Huang A. 2014). A vignette is also available in the doc/ folder in the package.

Configuration

This package was originally developed to leverage high performance computation with BLAS/Lapack package. To build the C/C++ code, the intel OneMKL library is specified in the package setup.

R package

An R package with similar implementation is also available at CRAN: https://cran.r-project.org/web/packages/EBglmnet/index.html

Reference

Huang A., Liu D.,
EBglmnet: a comprehensive R package for sparse generalized linear regression models
Bioinformatics, Volume 37, Issue 11, 2016, Pages 1627–1629

Huang A., Xu S., and Cai X. (2015).
Empirical Bayesian elastic net for multiple quantitative trait locus mapping.
Heredity, Vol. 114(1), 107-115.

Huang A.
Sparse Model Learning for Inferring Genotype and Phenotype Associations.
Ph.D Dissertation, University of Miami, Coral Gables, FL, USA. 2014

Huang A., Xu S., and Cai X. (2014a).
Whole-genome quantitative trait locus mapping reveals major role of epistasis on yield of rice.
PLoS ONE, Vol. 9(1) e87330.

Huang A., Martin E., Vance J., and Cai X. (2014b).
Detecting genetic interactions in pathway-based genome-wide association studies.
Genetic Epidemiology, 38(4), 300-309.

Huang A., Xu S., and Cai X. (2013).
Empirical Bayesian LASSO-logistic regression for multiple binary trait locus mapping.
BMC Genetics, 14(1),5.

Cai X., Huang A., and Xu S., (2011).
Fast empirical Bayesian LASSO for multiple quantitative trait locus mapping.
BMC Bioinformatics, 12(1),211.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

EBglmnet-1.1.tar.gz (308.7 kB view hashes)

Uploaded Source

Built Distribution

EBglmnet-1.1-cp310-cp310-macosx_10_9_x86_64.whl (131.0 kB view hashes)

Uploaded CPython 3.10 macOS 10.9+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page