1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
//! Measurements across many instrument files as one tidy table.
//!
//! Real questions span folders: "mean GFP intensity per condition", "which wells failed",
//! "median CD4 per donor". This crate is the layer that answers them:
//!
//! - [`run()`] runs a [`Measure`] (pixel statistics, trace statistics, table summaries, gated
//! population counts and medians, header metadata, and any command that implements the trait)
//! over files, directories, glob patterns or an index query, in parallel, with failures as
//! rows, multi-file data sets counted once and results in a deterministic order;
//! - [`sheet`] reads sample sheets (CSV, TSV, XLSX/XLS/ODS) and plate layouts (plate-map grids,
//! 96 to 1536 wells) and [`join()`] attaches their annotations to the rows, choosing the key
//! (file name, path, sample id recorded in the file, plate well, barcode, vial, run order)
//! from the data and reporting unmatched and ambiguous rows;
//! - [`summarize()`] aggregates a table by annotation columns (n, mean, sd, median, CV %),
//! optionally averaging technical replicates first and testing groups against a control
//! (Welch's t-test, Mann–Whitney U);
//! - [`mod@write`] writes tables as JSON, JSON Lines, CSV, TSV or Parquet, and reads them back;
//! - [`link()`] groups files that measured the same sample across instruments, with the
//! evidence and a confidence for every link;
//! - [`csv`] writes one table or one sweep of a trace as a verified CSV file (`export --format
//! csv`, `openreadout_export` format `csv`).
//!
//! The CLI (`--tidy`, `batch`, `link`), the MCP server and the Python package are thin
//! layers over these functions. `book/src/guides/batch.md` in the repository documents the behaviour.
// Statistics and pairwise comparisons use the textbook names (a, b, n, t, u, x, …).
pub use ;
pub use ;
pub use ;
pub use BatchOutput;
pub use ;
pub use ;
pub use ;
pub use ;