Barcode-keyed loader for arbitrary multi-modal panels, and the pseudobulks
a graph embedding trains on. Each input file contributes its rows to a
unified feature axis; cells (barcodes) are unioned across files. Per-cell
batch labels (from batch_files, @batch tags, or file names) are
deduped into a global namespace so downstream samplers can restrict
negatives to within-batch.
Stream a column selection (and an optional row selection or renumbering)
of a sparse backend into a fresh backend without materialising the
survivors. Shared by the split / subsample / subset-* CLI handlers,
by the in-place subset and reorder of SparseIo, and by downstream
crates (faba’s qc) that filter a matrix by cells and features.
Figures (feature figure): each one drawn once as SVG, written as a
vector PDF and a PNG by save, returned as PNG bytes by png for an
agent, and shown as an image inside the full-screen views where the
terminal has an image protocol (term, feature tui). What is saved
is what was on screen.
Cell-axis quality control (library-only): robust (MAD) outlier detection
plus the near-empty floor. Built on the streaming stat collectors in the
sibling qc module and consumed by senna / pinto — NOT by the data-beans
CLI — so it lives in its own module that the binary never compiles (keeps
qc fully bin-used and avoids dead-code in the bin target).
Cell QC as rules one can move: the settings of crate::qc_lib seen
rule by rule, each with the edge it holds a metric to, how many cells it
fails on its own, and how many it alone removes.