Python package with E-distance tools for single-cell perturbation data analysis.
Project description
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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
scperturb-0.1.0.tar.gz
(7.5 kB
view hashes)
Built Distribution
Close
Hashes for scperturb-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cffccf7bd628bbda840105f57d179af487536649abcbae9e2cddfa118bdd0f86 |
|
MD5 | 7d29a2b9d9490f4412dc474537670905 |
|
BLAKE2b-256 | 0b961f1cdce4b007c24cb7171cf368ced8f1e6723f7132bf0e3afb43cee5858d |