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