Python wrapper for sparseSEM
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.
- Install the free OneMKL package (https://www.intel.com/content/www/us/en/docs/oneapi/programming-guide/2023-0/intel-oneapi-math-kernel-library-onemkl.html)
- Check if your package is the same as in the setup.py file ('/opt/intel/oneapi/mkl/2023.1.0/include'). Update the file accordingly if it was installed in a different path.
- Intel MKL package is also available in conda intel channel. The dynamic loading library path will need to be updated if users choose to use
mkl-devel
conda package.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for EBglmnet-1.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d448f27e396711efb4d67a66ac18065a5d206dd4d1403413a6231a156b7d9cc5 |
|
MD5 | 4d022fc8dbc132968d0c4bf0dfc35017 |
|
BLAKE2b-256 | 1a338202c2d9e03b5eb59084afd94d6cfb59041953bcdd729e098eaa3e7c2d16 |