Skip to main content

Utility functions for scanpy

Project description

Utility functions for scanpy

  • Free software: MIT license

Installation

pip install scanpy-utils

Documentation

See https://scanpy-utils.readthedocs.io/en/latest/reference/index.html

Development

To run all the tests run:

tox

Note, to combine the coverage data from all the tox environments run:

Windows

set PYTEST_ADDOPTS=--cov-append
tox

Other

PYTEST_ADDOPTS=--cov-append tox

Changelog

0.1.1 (2021-08-11)

  • Fix get_markers function to add pct.1 and pct.2 columns even if no markers were found.

0.1 (2021-06-24) Initial release

  • get_markers function to extract markers from adata and add pct.1, pct.2 fields

  • write_mtx function to dump adata in cellranger mtx format

  • clean_metadata function to merge and remove duplicates from adata.var after merging

Plotting:

  • feature_plot function to plot hexbin feature plot on UMAP

  • plot_composition function to plot composition of clusters based on other metadata

  • expr_colormap function with custom colormap for expression

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

scanpy-utils-0.1.1.tar.gz (16.9 kB view details)

Uploaded Source

Built Distribution

scanpy_utils-0.1.1-py2.py3-none-any.whl (7.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file scanpy-utils-0.1.1.tar.gz.

File metadata

  • Download URL: scanpy-utils-0.1.1.tar.gz
  • Upload date:
  • Size: 16.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for scanpy-utils-0.1.1.tar.gz
Algorithm Hash digest
SHA256 b7dd08a5c4f4c4ce53ebb45289b74e25e1665de4cc30e90324ddc05c57297a22
MD5 cd874ea8c6fe1f35dedbd10a8b182cf1
BLAKE2b-256 c6693ef0dc26b7c3e25f80c578733d407f44770883c5dac8fdd89957747e3ae5

See more details on using hashes here.

File details

Details for the file scanpy_utils-0.1.1-py2.py3-none-any.whl.

File metadata

  • Download URL: scanpy_utils-0.1.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 7.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for scanpy_utils-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d26f3878a7416f6402cddc55ec08fd57ac5e1d2aff4eeee98d902b1a74e9f268
MD5 4a8039bc05f9103ea7ad1dc90c684f88
BLAKE2b-256 7554ecc4de469be3fa3f7e3f5a57c901f9890fb979667f9a09abf3bbab9e3dc9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page