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.

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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scperturb-0.1.0-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file scperturb-0.1.0.tar.gz.

File metadata

  • Download URL: scperturb-0.1.0.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for scperturb-0.1.0.tar.gz
Algorithm Hash digest
SHA256 fbd6a6ab7c720809876001fcb6cf3060bb0e929968320b3a6e1479f8f3b15966
MD5 223ff81247fa2097f455dbe495953a8b
BLAKE2b-256 767183e24924c6d7bd1c50de71f98248ec7c9e63a405edfdaaf63d7a9dc59af2

See more details on using hashes here.

File details

Details for the file scperturb-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: scperturb-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for scperturb-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cffccf7bd628bbda840105f57d179af487536649abcbae9e2cddfa118bdd0f86
MD5 7d29a2b9d9490f4412dc474537670905
BLAKE2b-256 0b961f1cdce4b007c24cb7171cf368ced8f1e6723f7132bf0e3afb43cee5858d

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

0.0.6

2 files

0.0.5

2 files

0.0.4

2 files

0.0.3

2 files

0.0.2

2 files

0.0.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page