Skip to main content

A tool to select cells on scanpy-based scRNA-seq analysis pipelines.

Project description

scSELpy

scSELpy (Single-cell selection in Python) is a manual cell selection tool to support Scanpy-based pipelines. It calls Scanpy generated plots and allows to user to draw polygons on top of them, in order to select cells. The cells located within these drawn polygons are assigned an identity, which will be stored in the Anndata object as an observation. Cells located within multiple Polygons will have multiple identities for in the same observation, separated by a comma.

Installation

Python3-7+

pip install scselpy

Installation and import are fully in lower-case.

Backend

When running scSELpy on Jupyter Notebook, the backend will temprary change to an interactive backend. The default interactive backend is Qt5Agg. If you are getting this error: ImportError: Failed to import any of the following Qt binding modules: PyQt6, PySide6, PyQt5, PySide2 please install PyQt5 with pip install PyQt5.

If the backend does not work on your computer, try using to a different one by running scselpy.pl.umap(adata,interactive_backend="TkAgg"). All matplotlib supported backends can be found here.

While running scSELpy in a Python shell such as ipython the default backend is usually interactive and therefore a switch will not be conducted, however, if you are experiencing troubles, it is possible to temporary switch the interactive backend to e.g. Qt5Agg or TkAgg by using the command above.

Running scSELpy

In order to get started with scSELpy, please refer to the documentation. The Tutorial can also be found as a notebook on this github/folder.

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

scselpy-1.1.7.tar.gz (25.1 kB view details)

Uploaded Source

Built Distribution

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

scselpy-1.1.7-py3-none-any.whl (27.6 kB view details)

Uploaded Python 3

File details

Details for the file scselpy-1.1.7.tar.gz.

File metadata

  • Download URL: scselpy-1.1.7.tar.gz
  • Upload date:
  • Size: 25.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.8

File hashes

Hashes for scselpy-1.1.7.tar.gz
Algorithm Hash digest
SHA256 65fb5c50f82c9593d54ca5b6bc70f1fca5f418e659a7dffc413dc6b8b0098ac9
MD5 37d21557a1107a88764a323286149243
BLAKE2b-256 8aa46a0c70a2a8149c3fa47b7f4d40a1071176f936adda322e2a24e85658c3eb

See more details on using hashes here.

File details

Details for the file scselpy-1.1.7-py3-none-any.whl.

File metadata

  • Download URL: scselpy-1.1.7-py3-none-any.whl
  • Upload date:
  • Size: 27.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.8

File hashes

Hashes for scselpy-1.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 a0b0e9ff95eff7b7f873a93fc9ba7ab09601bf6c92d9f18269a7562ff519d7d1
MD5 8480ac848cf971821b86a5ef126c92a7
BLAKE2b-256 9f5da23fdae65fe397d9013a1b087770d9277e51fcbccb65e4bd053b334806d6

See more details on using hashes here.

Supported by

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