This tutorial is still under construction
Tutorial 4: Plotting
Generate publication-ready plots with scpviz. — generate abundance plots, PCA/UMAP, clustermaps, raincloud, volcano plots.
Most plotting functions accept a matplotlib.axes.Axes object as the first argument, allowing seamless integration into multi-panel figures.
Abundance Plots
pdata.plot_abundance(
namelist=["ACTB", "GAPDH"],
classes="condition",
order=["control", "treated"]
)
plot_abundance() function automatically selects between barplots and violin plots (with inner points) depending on the number of samples per group.
PCA and UMAP
Clustermap
🎨 Colors automatically follow sample classes, but you can customize palettes.