Plotting: pl

Plotting: pl#

Helpers for visualizing CAMP partitions (assignments, metacell size distributions) and for metric ECDFs and line plots (e.g. from sweep tables). Executable examples on each function page are rendered at documentation build time.

Per-metacell cell counts (no plot) live in campmc.mt.metacell_sizes().

pl.assignment

Plot a 2D embedding coloured by CAMP metacell assignments.

pl.metric_ecdf

Save or display an empirical CDF plot for a 1-D metric array.

pl.metric_lines

Save or display a line plot of a metric from a tidy DataFrame.

pl.sizes

Plot the distribution of cells per metacell.