A Python package for benchmarking pathway databases with functional enrichment and prediction methods tasks.
Installation

pathway_forte can be installed from PyPI with the following command in your terminal:
$ python3 -m pip install pathway_forte
The latest code can be installed from GitHub with:
$ python3 -m pip install git+https://github.com/pathwayforte/pathway-forte.git
For developers, the code can be installed with:
$ git clone https://github.com/pathwayforte/pathway-forte.git
$ cd pathway-forte
$ python3 -m pip install -e .
Main Commands
The table below lists the main commands of PathwayForte.
Command |
Action |
|---|---|
datasets |
Lists of Cancer Datasets |
export |
Export Gene Sets using ComPath |
ora |
List of ORA Analyses |
fcs |
List of FCS Analyses |
prediction |
List of Prediction Methods |
Functional Enrichment Methods
ora. Lists Over-Representation Analyses (e.g., one-tailed hyper-geometric test).
fcs. Lists Functional Class Score Analyses such as GSEA and ssGSEA using GSEAPy.
Prediction Methods
pathway_forte enables three classification methods (i.e., binary classification, training SVMs for multi-classification tasks, or survival analysis) using individualized pathway activity scores. The scores can be calculated from any pathway with a variety of tools (see [1]) using any pathway database that enables to export its gene sets.
binary. Trains an elastic net model for a binary classification task (e.g., tumor vs. normal patients). The training is conducted using a nested cross validation approach (the number of cross validation in both loops can be selected). The model used can be easily changed since most of the models in scikit-learn (the machine learning library used by this package) required the same input.
subtype. Trains a SVM model for a multi-class classification task (e.g., predict tumor subtypes). The training is conducted using a nested cross validation approach (the number of cross validation in both loops can be selected). Similarly as the previous classification task, other models can quickly be implemented.
survival. Trains a Cox’s proportional hazard’s model with elastic net penalty. The training is conducted using a nested cross validation approach with a grid search in the inner loop. This analysis requires pathway activity scores, patient classes and lifetime patient information.
Other
References
Metadata
Release files for pathway-forte 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pathway-forte-0.0.2.tar.gz | 1.4 MB | Without provenance | Details for pathway-forte-0.0.2.tar.gz |
Release files / pathway-forte-0.0.2.tar.gz
| Download URL | pathway-forte-0.0.2.tar.gz |
|---|---|
| Size | 1.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c37fcbee5cf7d6bd9388aba17b98861bb48a7295d7f7a2946b46371ac4e7cdc7
|
|
BLAKE2b-256 checksum How to use checksums |
eb6cdb03257fa64c9cc127e93b2c13d9ba601f3070181e793a3509d4d18444bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/36.5.0 requests-toolbelt/0.8.0 tqdm/4.31.1 CPython/3.6.2
|
Security for pathway-forte 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.