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.0.1.tar.gz
(5.0 kB
view hashes)
Built Distribution
Close
Hashes for scperturb-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 809478e2130b7770741166525cbe0ec6f239920770da8686521368cf7bdea3dc |
|
MD5 | 9a76ed867f39ed0ec64d6e8518a9fc4a |
|
BLAKE2b-256 | 55e1d60a476c5e1ab2a85bb370a317d4b4f8d1d6b05c7df386d09c798ee69651 |