rEnrich
Test enrichment of network clusters given node annotation data
Compile & GSL environment variables setup
- Install GSL:
1.1) Using mac can run: > brew install gsl
- Set environment variables (replacing your GSL path in GSL_HOME):
2.1) in .bashrc:
export GSL_HOME="/opt/homebrew/Cellar/gsl/2.7.1"
export GSL_CFLAGS="${GSL_HOME}/include"
export GSL_LIBS="${GSL_HOME}/lib"
export GSL_CONFIG="${GSL_HOME}/bin/gsl-config"
export PATH="${GSL_HOME}/bin:${PATH}"
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${GSL_HOME}/lib"
- Run autoconfig.ac:
3.1) > autoconf
- Build and install:
4.1) > R CMD build rEnrich
4.2) > R CMD INSTALL rEnrich_1.0.tar.gz
- Run example:
5.1) > cd rEnrich/example/
5.2) > R
5.3) > source('example.R')