API Reference#
API pages include interactive (HTML) plots that would possibly not render correctly on a mobile device.
Cellestial is built on ggrust. Its layers, scales, themes and utilities follow the lets-plot API, so that reference covers further customization.
Could not find what you are looking for?
Dimensionality Reduction#
Dimensionality reduction plot. |
|
UMAP Dimensionality reduction plot. |
|
PCA Dimensionality reduction plot. |
|
tSNE Dimensionality reduction plot. |
|
Dimensionality reduction plot of expression data. |
|
Grid of dimensionality reduction plots. |
|
Grid of dimensionality reduction plots. |
|
Grid of dimensionality reduction plots. |
|
Grid of dimensionality reduction plots. |
|
Grid of dimensionality reduction plots. |
Heatmap#
Heatmap. |
|
Matrix plot. |
|
Dotplot. |
|
Stacked Violin Plot. |
|
Annotated heatmap. |
Distributions#
Basic#
QC#
Grid of ranked genes per group. |
|
Ridge Plot. |
|
Ridge Plot. |
|
Elbow Plot. |
|
Highest Expressed Genes Plot. |
Common#
Differential Expression#
Spatial#
Layers#
Layer of geom_path that outlines the given clusters. |
|
Layer of geom_text that places per-group labels at median coordinates. |
|
Theme with arrows as the X and Y axis of the plot. |
|
Layer of streams of velocities on the embedding. |
|
Layer of stat_compare_means annotating pairwise significance between groups. |
|
Add colored rectangles around panel, legend, and plot areas. |
Data Frames#
Build a DataFrame from a single-cell object. |
Utility#
Show a grid of hand-picked colors. |
|
Returns the mapping of the plot as a dict. |
|
Retrieves the dataframe from a PlotSpec or SupPlotsSpec using the index. |
|
Get a single figure from a grid (SupPlotsSpec) by index. |
|
Get multiple figures from a grid (SupPlotsSpec) as a new grid. |
|
Convenience function for exporting plots. |
|
Select the top-ranked marker gene names from a precomputed ranking. |
|
Select the top-ranked marker gene names per group from a precomputed ranking. |
|
Arrange plots into a grid of rows, where each inner list is one row. |
Colors#
Color constants, shown by cl.show_colors().
- cellestial.BLUE = "#377EB8"#
- cellestial.CHERRY = "#AF1740"#
- cellestial.LIGHT_GRAY = "#E6E6E6"#
- cellestial.ORANGE = "#F14A00"#
- cellestial.PINK = "#E73879"#
- cellestial.PURPLE = "#640D5F"#
- cellestial.RED = "#D2042D"#
- cellestial.SNOW = "#F9F9F9"#
- cellestial.TEAL = "#219B9D"#
Datasets#
Download and load the preprocessed pbmc3k dataset. |
|
Download and load a small multimodal CITE-seq PBMC dataset. |
|
Download and load the preprocessed V1 Human Lymph Node Visium spatial dataset. |
|
Download and load the preprocessed endocrinogenesis day-15 pancreas dataset. |
|
Download and load the breast cancer cell atlas from CELLxGENE. |
|
Download and load a dataset from a direct HTTP(S) URL. |
|
Download and load a dataset from CELLxGENE by URL or UUID. |
Versions Information#
Print the in-use versions of the packages and python. |
- cellestial.__version__#
The installed cellestial version.