tradeSeq-python
Python tradeSeq package — trajectory-based differential expression analysis with negative-binomial generalized additive models (NB-GAM).
Installation
pip install tradeSeq-python # from PyPI
Quickstart
import tradeseq as ts
adata = ts.load_paul15() # AnnData (2660 × 240)
ts.fit_gam(adata, n_knots=6) # NB-GAM per gene
assoc = ts.association_test(adata) # expression vs pseudotime
start = ts.start_vs_end_test(adata) # progenitor markers
diff = ts.diff_end_test(adata) # between-lineage endpoints
patt = ts.pattern_test(adata) # between-lineage patterns
early = ts.early_de_test(adata, knots=(1, 2)) # early drivers
ts.plot_smoothers(adata, gene=start['waldStat'].idxmax())
ts.plot_gene_count(adata, gene=start['waldStat'].idxmax())
Choose the number of knots with evaluate_k / evaluate_k2 and plot_evaluatek_results. evaluate_k2 is a speed-up version of the original evaluate_k.
Tutorials
Runnable notebooks that reproduce the R tradeSeq vignettes live under tutorials/:
| Notebook | Coverage |
|---|---|
tradeSeq.ipynb |
Full Wald battery on the Paul-2015 myeloid trajectory — mirrors vignettes/tradeSeq.Rmd |
fitGAM.ipynb |
Model-fitting options — covariates, parallelism, list-mode output, convergence diagnostics |
Metadata
Release files for tradeSeq-python 1.13.12
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 |
|---|---|---|---|---|
| tradeseq_python-1.13.12.tar.gz | 1.6 MB | Without provenance | Details for tradeseq_python-1.13.12.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tradeseq_python-1.13.12-py3-none-any.whl | Python 3 | none | any | Details for tradeseq_python-1.13.12-py3-none-any.whl |
Total release size: 3.3 MB
Release files / tradeseq_python-1.13.12.tar.gz
| Download URL | tradeseq_python-1.13.12.tar.gz |
|---|---|
| Size | 1.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6c84e4d6192d68a105176285a18af2ba44adce0e76ec13c8a48730720d94be85
|
|
BLAKE2b-256 checksum How to use checksums |
8b652aca28138af608074e6349260cffc12d7eec6889e5b7349825ea4df6c521
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Release files / tradeseq_python-1.13.12-py3-none-any.whl
| Download URL | tradeseq_python-1.13.12-py3-none-any.whl |
|---|---|
| Size | 1.7 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1aa8c11aea9b8bb8061939fc9826b41b93e4d91401d48b34435b782ffc7b314d
|
|
BLAKE2b-256 checksum How to use checksums |
49125b5593d0e525b42b3f9d51ffa95d214addb846d41af688721555150d5eec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Security for tradeSeq-python 1.13.12
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.