Create and Validate Gene Signatures
Project description
Gene signatures are sets of genes derived from gene expression data, which identify a certain tissue, cell type, pathway, etc. Pygenesig provides a framework to create and validate such signatures. The package is easily extensible to add new methods for signature creation and testing.
Getting started
Please refer to the documentation, in particular the sections
If you want to implement own methods for creating and testing signatures, please take a look at the
Developer’s guide and the
Installation
You need to have Python 3.7 or newer installed on your system. Some methods for creating or testing signatures additionally require R. If you don’t have Python installed, we recommend installing Miniforge.
There are several alternative options to install pygenesig:
Install pygenesig in a self-contained conda environment:
This is the most reliable option to make both R and Python work. Make sure you have the `conda-forge` and the `bioconda` channels set-up with the correct priorities as described in the Bioconda documentation.
# use `mamba` instead of `conda` for more speed mamba create -n pygenesig python=3.8 pip bioconductor-edger bioconductor-bioqc conda activate pygenesig pip install pygenesig
Install pygenesig via pip and R packages manually
pip install pygenesig
Then, in R:
install.packages("BiocManager") BiocManager::install(c("edgeR", "BioQC"))
Usually, if R is in your PATH, rpy2 automatically detects your R installation. If you get an error message while importing pygensig, try setting the R_HOME environment variable before importing pygenesig:
import os os.environ["R_HOME"] = "/usr/lib/R" import pygenesig
Install the latest development version from GitHub:
pip install git+https://github.com/grst/pygenesig.git@master
You’ll need to separately install R packages as described above.
Release notes
See the release section.
Contact
Please use the issue tracker.
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
File details
Details for the file pygenesig-0.2.2.tar.gz
.
File metadata
- Download URL: pygenesig-0.2.2.tar.gz
- Upload date:
- Size: 25.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57f54572a2e91ddf04303a570868c0dd3354418ca04d7a29afd3233700edc1dd |
|
MD5 | 7e5b308fc01aace7be31edd6a14ff40d |
|
BLAKE2b-256 | e6af018dcbdd43b255987de9ca337ea34b1a882a5c2add2fc59d6b99dbf708e3 |
File details
Details for the file pygenesig-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: pygenesig-0.2.2-py3-none-any.whl
- Upload date:
- Size: 31.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f94c89acdeed6859b718e544d78e2250c6e3451ca6ff35a91fea6e33cc2d0e1 |
|
MD5 | 5407a400de2137a89cc55bb0b0f347f0 |
|
BLAKE2b-256 | 6d7169bc92b2fe3d60255389d613f1ce7fec99822c0df29d24b807a2848862f8 |