analyze_flow_cytometry_ploidy
flowPloidy's DNA-content (cell cycle, genome size) fit on one channel of a project FCS file, optionally one population: G1/G2 Gaussians per sample, broadened-rectangle S phase, debris and aggregates by bounded nlsLM; nuclei counts, G1 CVs, G2/G1 linearity, reduced chi-square; with a standard, the ratio and pg; without G2, the endoreduplication index.
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": "analyze_flow_cytometry_ploidy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| g2 | No | model G2 peaks; off for endopolyploid tissue (then the endoreduplication index is reported). | |
| _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. | |
| debris | No | the debris model. Values: SC (single cut), MC (multiple cut). | SC |
| gating | No | a Gating-ML or FlowJo .wsp in the project; empty for none. | |
| channel | No | the DNA-content channel (PnN or PnS). | |
| derived | No | as analyze_flow_cytometry. | |
| _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. | |
| standard | No | which sample's G1 is the internal standard (a: lower G1, b: higher); empty for none. | |
| trim_raw | No | drop channel values at or above this (0 keeps every value). | |
| linearity | No | the G2/G1 ratio: fitted between 1.5 and 2.5, or held at 2. Values: variable (fitted), fixed (fixed at 2). | variable |
| population | No | a population of the strategy to analyse (flowPloidy gate); empty for every event. | |
| compensation | No | as analyze_flow_cytometry. | auto |
| debris_limit | No | peaks below this bin are not used as starting peaks. | |
| standard_size | No | the standard's DNA content in pg (0 for none). | |
| histogram_bins | No | histogram bins. | |
| samples_in_tube | No | how many samples (sets of G1/G2/S peaks) the model may hold. | |
| compensation_method | No | as analyze_flow_cytometry. | flowkit |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fit | Yes | the fitted parameters by name, stop code, iterations, nuclei counts per component, G1 CVs and the reduced chi-square; null when refused | |
| refused | Yes | flowPloidy's refusal, or null | |
| summary | Yes | ratio to the standard, DNA content (pg) and endoreduplication index, each null when it does not apply | |
| histogram | Yes | counts per bin, events outside the population, the fitted bins, and the starting peaks |