Tools

Cytof Compensate

pub fn tool_cytof_compensate(): mass-cytometry spillover compensation. Consumes the 5-column event table (event_id Int64 non-null; channel Utf8 non-null; value Float64 non-null; spillover_channels List<Utf8> non-null, declared constant...

Runnableexpression matrices

Catalog entry

About this entry

pub fn tool_cytof_compensate(): mass-cytometry spillover compensation. Consumes the 5-column event table (event_id Int64 non-null; channel Utf8 non-null; value Float64 non-null; spillover_channels List<Utf8> non-null, declared constant across rows; spillover_matrix List<List<Float64>> non-null, square KxK, declared constant across rows), reads S from row 0 and verifies constancy, inverts S by Gauss-Jordan elimination with partial pivoting (singular matrix refused), and re-emits the event frame with all three output columns non-null: for each row, channels named in spillover_channels get the compensated value x * solve(S) and every channel NOT named in the spillover matrix passes through unchanged; input row order preserved. Pure Rust, no external program; certified fixture parity tight_epsilon, tolerance 1e-6.

CategoryTools
StatusRunnable
InputFlexible research data
Outputexpression matrices

Use in DarwinOmics

How to use it

Use this tool to reproduce a concrete analysis step from supplied inputs, captured parameters, and versioned outputs, then compare the regenerated artifacts against the submitted result record.