Skip to main content

Module qc_tui

Module qc_tui 

Source
Expand description

data-beans qc’s full-screen view: the cell QC rules in a table, each with its edge, how many cells it fails and how many it alone removes; the selected rule’s histogram in three layers (every cell, the cells passing the other rules, the cells only it removes); total counts against detected genes; and the removed cells by the rules they fail.

The view moves a CellRules, so every count is qc_lib’s own decision and p shows qc flags that decide the same cells. Where the terminal has an image protocol the plots are the figure’s own panels (crate::figure::qc::panel); s saves the whole figure as PDF and PNG.

Structs§

QcView
The view over rules.

Enums§

Decision
What the view ended with.

Functions§

choose_rules
Run the view of rules in tui until Enter or quit: the rules as left, how it ended, and where the kept cells go (output, or the name Enter asked for, offering suggest).
free_output
name, or failing that the first of {name}-2, {name}-3, … that output_taken lets through.
output_taken
Whether an output named name would replace something: the name as given, or the backend a write under it makes.
shell_word
s as one shell word.
stem
A backend’s name without its extension: pbmc of pbmc.zarr.zip.