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.
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)
| File | Size | Uploaded | |
|---|---|---|---|
| scperturb-0.1.0.tar.gz | 7.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| scperturb-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
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
|