ADEX: Allen Differential Expression eXplorer
ADEX allows life scientists to interactively and efficiently explore large volumes of differential features (genes, peaks, etc.) with minimal coding experience. Given the results of one or (more often) several differential tests and a configuration file, ADEX enable users to:
- Explore DEGs through interactive volcano plots, MA plots, and per-covariate DEG views.
- Investigate gene expression for any selected gene using pseudo-bulk box plots stratified by donor, condition, or cell type.
- Analyze pathway enrichment results (GSEA or ORA) via volcano plots and pathway selection dropdowns.
- Filter by cell type and experimental covariates (e.g., day, treatment, cytokine) using sidebar dropdowns that dynamically update all plots.
- Browse gene panels to quickly navigate to genes of interest.
ADEX was built upon Python and Dash, and installation is conveniently facilitated by tools like pip and uv. The package itself is hosted by PyPI. A complete documentation site with examples and user guide is available here.
Data input
Prepare a project folder containing your configuration file and input data. Run adex-init (see Usage) to scaffold a ready-to-run example project you can use as a guide.
1. Project configuration file [required]
Start with config/template.json and save a project-specific copy. You can edit JSON in a text editor; no Python programming is needed. In the copy:
- Set
app_titleto the title you want displayed in the dashboard. - Under
adex.experiment, setspeciestohumanormouse, and list the names of the experimental variables (covariates) incovariates. Each name must match a column in your input file exactly. Setdefault_featuresto values that occur in those columns, anddefault_geneto a gene or feature in your data. - Under
adex.preprocess.differential, setfileto your differential-results file and update the fourcolumnsvalues to the exact headers used for the feature/gene, adjusted p-value, log fold change, and mean-expression columns. - Choose
adjp_cutofffor the adjusted p-value threshold used to summarize significant results.
File paths are read from the directory where you run the commands below. Use paths relative to that directory, or provide absolute paths. The configuration template has example values; replace them with values and paths from your own study.
Modified differential results file [required]
Provide one comma-separated results file (.csv or .csv.gz) containing the results for all comparisons you want to explore. It should have one row per tested feature and comparison, with:
- A feature or gene identifier column.
- Adjusted p-value, log fold change, and mean-expression columns.
- One column for each covariate named in
experiment.covariates. These columns identify the comparison or experimental condition for each row.
The following gives an example for a perturbation experiment where whole blood samples were treated with LPS, PolyIC, SEB, and control treatment followed by RNA-Seq and differential results derived from DESeq2 (example file).
| gene | baseMean | log2FoldChange | padj | contrast | group1 | group2 |
|---|---|---|---|---|---|---|
| TSPAN6 | 8.336 | -0.155 | 0.477 | geo.stimulation | LPS | Null |
| DPM1 | 173.349 | 0.065 | 0.0447 | geo.stimulation | LPS | Null |
| SCYL3 | 85.631 | 0.308 | 3.72e-12 | geo.stimulation | PolyIC | Null |
| C1orf112 | 13.995 | -0.071 | 0.593 | geo.stimulation | PolyIC | Null |
| FGR | 3168.258 | 1.545 | 1.03e-265 | geo.stimulation | PolyIC | Null |
| ... |
In your project configuration, set adex.preprocess.differential.columns to the exact column headers in your file. For the example table above, the section looks like this:
"columns": {
"gene_col": "gene",
"padj_col": "padj",
"lfc_col": "log2FoldChange",
"mean_col": "baseMean"
}
The keys on the left are ADEX settings; the values on the right must match the corresponding input-file headers, including capitalization. The covariate names (contrast, group1, and group2 in this example) are configured separately in adex.experiment.covariates.
"adex": {
"experiment": {
"covariates": ["group1", "group2", "contrast"]
}
}
Enrichment results [optional]
To show pathway-enrichment results (GSEA or ORA), provide a tab-separated file (.tsv or .tsv.gz) with adjusted p-value, normalized enrichment score (NES), pathway name, pathway collection, and leading-edge genes, plus the same covariate columns used for the differential results. Add an enrichment section under adex.preprocess that maps these columns; pathway gene sets are downloaded automatically during preprocessing. See the enrichment input format guide.
If you do not have enrichment results, leave out the enrichment section; differential-results exploration does not require it.
Data output
Preprocessing writes Parquet files under adex.preprocess.outdir (default .adex, overridable with adex-preprocess --outdir), and the dashboard reads them from the same folder. You do not list or edit these files. See Project Configuration for details.
.adex/
├── differential/
│ ├── adjp.parquet
│ ├── deg.parquet
│ ├── log2fc.parquet
│ ├── means.parquet
│ ├── meta.parquet
│ ├── summaries.parquet
│ ├── t-adjp.parquet
│ └── t-log2fc.parquet
├── enrichment/ # created only when enrichment is configured
│ ├── results.parquet
│ ├── meta.parquet
│ └── summaries.parquet
└── databases/ # downloaded gene sets and gene aliases, with enrichment
Usage
You need Python 3.13 or newer. Open a terminal in your project folder (the folder containing your project config), then install ADEX:
python -m pip install ADEX
To scaffold a new project, generate starter templates (template.json, help_page.md, startup_modal.md, and covariate-help.md) plus a bundled example dataset in the current directory:
adex-init # create the templates in the current directory
adex-init --dir my-study # write the templates to another directory
Both adex-preprocess and adex-app use --config when provided, otherwise
template.json in the current directory. They do not fall back to another
configuration; run
adex-init if no local configuration exists.
Replace config/my-study.json below with the path to your edited configuration file. Run preprocessing once after preparing or changing your input files or config:
adex-preprocess --config config/my-study.json
After preprocessing finishes, start the dashboard in the same project folder:
adex-app --config config/my-study.json
Open http://localhost:8050 in your web browser. Keep the terminal running while you use the dashboard; press Ctrl+C there to stop it. If port 8050 is already in use, stop the other application using it before starting ADEX.
Example screenshot
Docker
The repository includes a Dockerfile as a starting point for container-based development or deployment. A study-specific container must have your configuration, input data, and preprocessed .adex files available, and must start the app with your configuration. For an initial local setup, use the steps in Usage; the Docker image is not preconfigured with your study data.
Metadata
Release files for ADEX 0.2.3
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 |
|---|---|---|---|---|
| adex-0.2.3.tar.gz | 17.4 MB | With provenance | Details for adex-0.2.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| adex-0.2.3-py3-none-any.whl | Python 3 | none | any | Details for adex-0.2.3-py3-none-any.whl |
Total release size: 34.8 MB
Release files / adex-0.2.3.tar.gz
| Download URL | adex-0.2.3.tar.gz |
|---|---|
| Size | 17.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b878235d9ba0cd3175a1e6936b344feb2cbb171675de769c2545872bdbc67b22
|
|
BLAKE2b-256 checksum How to use checksums |
0137ecc452c4bb6640e00aa408a41932018845c2d5ae0b421db8249d6820aedb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.
Transparency logRelease files / adex-0.2.3-py3-none-any.whl
| Download URL | adex-0.2.3-py3-none-any.whl |
|---|---|
| Size | 17.4 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a4c09b763d9862cbcb3b7b8ea5de58c4b01334715cc011f41a61b7be5c430f33
|
|
BLAKE2b-256 checksum How to use checksums |
b1c0d69f113bb2848423379b9d931e0d6f1ccafa2c1e0574425bc868b1b8c815
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.
Transparency logSecurity for ADEX 0.2.3
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for adex-0.2.3.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.
Transparency logA 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.