batch_flow_cytometry
One strategy, compensation and scale over many project FCS files: each population's count and % per sample (samples it cannot gate listed with the reason); with a sample sheet column, populations compared between groups (Welch t, Kruskal-Wallis, Welch one-way ANOVA) or by two columns (two-way ANOVA, R aov).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "batch_flow_cytometry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _files | No | The project: record references shaped like _subject. Their records become library documents a tool names in sequences/parts/document; a trace or alignment is found by file name. | |
| and_by | No | a second sample-sheet column: each population's percentage by both columns at once, R summary(aov()) with sequential sums of squares (group_by first); empty for none. | |
| gating | No | a Gating-ML or FlowJo .wsp in the project; empty for none. | |
| derived | No | as analyze_flow_cytometry. | |
| measure | No | which percentage is compared. Values: percentOfParent (% of parent), percentOfTotal (% of total). | percentOfParent |
| samples | No | the FCS files to run, by name or id, comma-separated; empty for every FCS file in the project. | |
| _subject | No | The record to act on: exactly one of sequence, accession (+source), sample (an id from list_samples) or file ({name, text} or {name, base64}); record_index picks one record of several. | |
| document | No | the FCS file in the project, by name or id. | |
| group_by | No | the sample sheet's column whose values are the groups to compare. | |
| concordance | No | a one-dimensional range gate of the strategy to compare, sample by sample, with openCyto's automated cut (gate_mindensity) on the same parent and channel, scored by Lin's concordance correlation; empty for none. | |
| interaction | No | with and_by, also fit the two columns' interaction (y ~ A * B). | |
| compensation | No | as analyze_flow_cytometry. | auto |
| sample_sheet | No | a CSV in the project whose first column, headed sample, names each FCS file; empty for no groups. | |
| compensation_method | No | as analyze_flow_cytometry. | flowkit |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | populations × samples: counts, % of parent, % of total, and the samples refused | |
| two_way | Yes | per population: the two-way ANOVA table (df, sum of squares, mean square, F, p per term and the residuals), or why none | |
| comparisons | Yes | per population: the groups, their means and the tests | |
| concordance | Yes | per sample the manual and automated % of parent and the cut, and Lin's concordance correlation with its 95% interval, scale and location shifts and bias-correction factor |