Skip to main content

Crate data_beans

Crate data_beans 

Source

Re-exports§

pub use sparse_backend::zarr as sparse_matrix_zarr;

Modules§

aux
column_subset
Stream a column selection (and an optional ascending row selection) of a sparse backend into a fresh backend without materialising the survivors. Shared by the split / subsample CLI handlers and by downstream crates (faba’s qc) that filter a matrix by cells and features.
convert
figure
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.
hdf5_io
interactive
Full-screen terminal views (feature tui), and line prompts for when there is no terminal.
qc
qc_lib
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).
qc_rules
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.
sparse_backend
sparse_data_visitors
sparse_io
sparse_io_stack
sparse_io_vector
sparse_util
utilities
zarr_io
General-purpose zarr I/O for reading numeric arrays and attributes from zarr directories or .zarr.zip archives.