estimate_spectra_from_controls
flowSpecs specMatCalc on spectral single-stain control tubes in the project: per tube, MAD gates on scatter and the brightest detector, the median of every detector; each group's dimmest tube subtracted, autofluorescence added, each signature scaled to its maximum.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"tubes": "<tubes>",
"groups": "<groups>",
"autofluorescence": "<autofluorescence>"
},
"name": "estimate_spectra_from_controls"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tubes | Yes | the control FCS files in the project, by name or id, comma-separated, the unstained and autofluorescence tubes included. | |
| _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. | |
| groups | Yes | the tube-name prefixes that group tubes acquired alike, comma-separated (Beads_, Dead_). | |
| _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. | |
| excluded | No | regular expression for the channels that are not detectors. | Time|SC|Sort|ate|omp|LightLoss|Row|Column |
| autofluorescence | Yes | which of the tubes is the unstained one whose spectrum is the autofluorescence, by name or id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tubes | Yes | what each tube's gates kept, its brightest detector and its role | |
| matrix | Yes | the spectral matrix, rows the fluorochromes, columns the detectors |