Skip to main content

scperturb

A python package to compute E-distances in single-cell perturbation data and perform E-tests.

Install

Just install via pip:

pip install scperturb

Usage example

# E-distances
estats = edist(adata, obs_key='perturbation')
# E-distances to a specific group (e.g. 'control')
estats_control = estats.loc['control']
# E-test for difference to control
df = etest(adata, obs_key='perturbation', obsm_key='X_pca', dist='sqeuclidean', control='control', alpha=0.05, runs=100)

Check out notebooks --> e-distance for tutorial.

Metadata

Release files for scperturb 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for scperturb 0.1.0
File Size Uploaded Provenance Actions
scperturb-0.1.0.tar.gz 7.5 kB Without provenance Details for scperturb-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for scperturb 0.1.0
File Interpreter ABI Platform Actions
scperturb-0.1.0-py3-none-any.whl Python 3 none any Details for scperturb-0.1.0-py3-none-any.whl

Total release size: 16.0 kB

Release files / scperturb-0.1.0.tar.gz

Download URL scperturb-0.1.0.tar.gz
Size 7.5 kB
Tags Source
SHA-256 checksum
How to use checksums
fbd6a6ab7c720809876001fcb6cf3060bb0e929968320b3a6e1479f8f3b15966
BLAKE2b-256 checksum
How to use checksums
767183e24924c6d7bd1c50de71f98248ec7c9e63a405edfdaaf63d7a9dc59af2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release files / scperturb-0.1.0-py3-none-any.whl

Download URL scperturb-0.1.0-py3-none-any.whl
Size 8.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cffccf7bd628bbda840105f57d179af487536649abcbae9e2cddfa118bdd0f86
BLAKE2b-256 checksum
How to use checksums
0b961f1cdce4b007c24cb7171cf368ced8f1e6723f7132bf0e3afb43cee5858d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Security for scperturb 0.1.0

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page