import cellestial as cl
import scanpy as sc
from lets_plot import *
LetsPlot.setup_html()
data = sc.read("data/pbmc3k_pped.h5ad")7 pca
7.0.1 A simple PCA plot
plot = cl.pca(data, key="leiden", axis_type="arrow", size=0.6, interactive=True)
plot7.1 Of course, it is possible to customize the plot
plot + scale_color_hue()7.2 You can also use a gene a key.
cl.pca(data, "NEAT1", color_high="#D2042D")cl.versions()cellestial: 0.6.0
scanpy: 1.10.4
anndata: 0.11.3
polars: 1.12.0