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.3.tar.gz (25.0 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.3-py3-none-any.whl (27.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: scselpy-1.1.3.tar.gz
  • Upload date:
  • Size: 25.0 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.3.tar.gz
Algorithm Hash digest
SHA256 ddf5f26aa2a0361b9f66be8e29e3eadd465f7d82ca13737f48d03bfcd4eebf07
MD5 766ef24ec532ca66de3df1c50d86a937
BLAKE2b-256 c350011a2e277ca17d312ccda9e321d32df704da4dcbaac4cb4b97564126b9e9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scselpy-1.1.3-py3-none-any.whl
  • Upload date:
  • Size: 27.5 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c4138a4e966ba12d51cb6275b60c14ae1f1901f41fd5448e1e2a8eeb18ba7828
MD5 9bc340baaece3b0602cdcf3b50c90eb9
BLAKE2b-256 5a7e2e694a4a14745b216d5952ea68a717771833aa1d03a457d8fb65ea29cfd5

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