estimate_spillover_from_controls
flowStats spillover() on single-stained control tubes and an unstained tube from the project: per tube the median (or mean, or density mode) of every detector, the unstained baseline subtracted, each stained tube matched to its channel (by name distance or tube order), each row divided by its own detector.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fsc | No | forward scatter channel, left out of the matrix. | FSC-A |
| ssc | No | side scatter channel, left out of the matrix. | SSC-A |
| tubes | Yes | the control FCS files in the project, by name or id, comma-separated, the unstained one 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. | |
| pattern | No | regular expression the detectors must match; empty for all. | |
| _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. | |
| statistic | No | the per-tube statistic. Values: median (median), mean (mean), mode (density mode). | median |
| unstained | Yes | which of the tubes is unstained, by name or id. | |
| stain_match | No | how tubes are matched to channels. Values: intensity (by name), ordered (in tube order). | intensity |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| matrix | Yes | the spillover matrix, rows the stained channels, columns the detectors | |
| matching | Yes | tube → channel | |
| warnings | Yes | flowStats' warnings |