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 (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.tar.gz (16.6 kB view details)

Uploaded Source

Built Distribution

scanpy_utils-0.1-py2.py3-none-any.whl (7.8 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: scanpy-utils-0.1.tar.gz
  • Upload date:
  • Size: 16.6 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.tar.gz
Algorithm Hash digest
SHA256 67424abe199d4335d9bb394f6e6269f05c5642a691f952d2c2df58f92979df3d
MD5 5fe35c7774bdfd93f4efb606baded3db
BLAKE2b-256 8ce87ccc6355d7f3263388b5422d6da7d01c2febb3f08199c718cd87d761d115

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scanpy_utils-0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 7.8 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-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1e47e85a4df7390a8e17d2aab5fae75042c71d927915650bbc330c68601f9825
MD5 538488b98f44b19d271f05c1e96da3c8
BLAKE2b-256 d46c9b3a261072b8df66e5465eb6bd3909189251d3fabe10b3b4cb63d70903f0

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