Skip to content

An Interactive and Highly-Customizable Single-Cell and Spatial Biology Plotting Library

License

Notifications You must be signed in to change notification settings

datavil/cellestial

Repository files navigation

Cellestial Logo

GitHub PyPI

To see the example Figures visit Cellestial Webpage.

Cellestial

An Interactive and Highly Customizable Single-Cell & Spatial Plotting Tool over a ggplot-like API.

Name Encuplates: Space (of Spatial), Scatters of Stars, and of course Cells.

Installation

pip install cellestial

Usage

import cellestial as cl

Interactive tooltips of individual data points

umap = cl.umap(data, size=1, axis_type="arrow")
umap

tooltips

and tooltips can be extended with other features..

Zooming and Paning Options

umap = cl.umap(data, size=1, axis_type="arrow", interactive=True)

Plots are exteremly customizable

umap + scale_color_hue() + ggsize(500,400)

Customized

Multi plots are distinct functions

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)

multi

About

An Interactive and Highly-Customizable Single-Cell and Spatial Biology Plotting Library

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages