Skip to main content

No project description provided

Reason this release was yanked:

breaking changes

Project description

Cellestial

GitHub PyPI

Cellestial Logo

The Grammar of Graphics for single-cell omics.

Installation

pip install cellestial

Introduction

Cellestial is an interactive and a highly customizable Single-Cell & Spatial omics data visualization library. Built on top Lets-Plot, it offers a ggplot-like layered and modular approach offering high customizability and publication-ready figures.

Cellestial is highly integrated with scverse's AnnData with room for integration with any upcoming single-cell omics data type in the Python single-cell omics ecosystem.

Cellestial leverages the performance of Polars ensuring speed and scalability.

Cellestial is built-on top the following core design philosophies:

  1. Modularity over abstraction
  2. Predictability over flexibility
  3. Explicity over implicity
  4. Simplicity & Expressiveness

with reproduciblity, intiutiveness & ease-of-use, and, of course, beautiful publication-ready plots/charts/figures in mind.

More on Design Philosophy

To see the example Figures visit Cellestial Webpage.

Example Plots Grid

multipanel

Usage

import cellestial as cl

Tooltips

umap = cl.umap(
    data,
    key="cell_type_lvl1",
    size=1,
    axis_type="arrow",
    alpha=0.6,
    tooltips=["cell_type_lvl1", "n_genes","pct_counts_in_top_50_genes"],
    legend_ondata=True,
    ondata_size=12,
    ondata_fontface="bold",
    ondata_family="mono",
    ondata_alpha=0.8,
)
tooltips

Layered/Modular Approach

The ggplot-like API allows adding layers and customizing the plot.

# modify plot size and color palette
umap += ggsize(800, 600) + scale_color_hue()
# highlight clusters
umap + cl.cluster_outlines(dim,["B Cells","Erythroid"])
highliht

Zooming and Paning Options

TODO

Grid plots

Instead of singular function names (umap), multi/grid plots requires the plural (umaps),providing predictability which guarentees the reproducibility.

Which are valid for all dimensional subsets (expression,pca,umap, tsne).

cl.umaps(
    data,
    keys=["leiden", "HBD", "NEAT1", "IGKC"],
    ncol=2,
    size=1,
    color_high="red",
) + ggsize(900, 600)
umaps

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cellestial-0.10.1.tar.gz (31.8 kB view details)

Uploaded Source

Built Distribution

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

cellestial-0.10.1-py3-none-any.whl (49.7 kB view details)

Uploaded Python 3

File details

Details for the file cellestial-0.10.1.tar.gz.

File metadata

  • Download URL: cellestial-0.10.1.tar.gz
  • Upload date:
  • Size: 31.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.2 CPython/3.14.3 Darwin/25.3.0

File hashes

Hashes for cellestial-0.10.1.tar.gz
Algorithm Hash digest
SHA256 6ba1dbacbb17054fb8b146c9118fd4105f6dc45d8fcfde1f26935dfa4c13422f
MD5 3b13b57b7b2ccfcb2d03e974de20ad31
BLAKE2b-256 73fc1fa8bd4481a68642e2da00efc9aa59d8b33b5ddfa81057ab253d85420f8d

See more details on using hashes here.

File details

Details for the file cellestial-0.10.1-py3-none-any.whl.

File metadata

  • Download URL: cellestial-0.10.1-py3-none-any.whl
  • Upload date:
  • Size: 49.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.2 CPython/3.14.3 Darwin/25.3.0

File hashes

Hashes for cellestial-0.10.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7ddf9e51e2a278d8cad85a076e2a45a7ef1aad916045743041847315e88c6c54
MD5 ac74500f432151dee2c2b35c6c3654c3
BLAKE2b-256 ed69c03885bb478b8a1eceabe852a732b91083fd0ba5adbf4d754f54ae042366

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