An interaction is a pair of cells, one from the primary phenotype and one from the secondary, whose distance lies between Minimum Distance and Maximum Distance. The User Manual describes the purpose as finding connections between cells of two phenotypes, shown as lines joining the interacting cells, with the numbers available for scattergrams.
- Choose the phenotypes. The primary phenotype is the one that gets measured; the secondary phenotype is what it is measured against. Both come from the gating you did in diagrams (see phenotypesLoading...).
- Set the interval. A minimum of 0 counts every secondary cell closer than the maximum. A nonzero minimum makes a ring, for example 10–20 µm.
- Measure each primary cell. The engine finds the secondary cells inside the interval and records how many there are, their mean distance, the closest and farthest distance, and the ID of the closest one.
- Draw the interactions. The output shows every interaction or, with Draw Only Closest Interaction checked, only each primary cell's closest one.
The engine is found in two places in a layerLoading...: Pre-Processing, under Operations (advanced), and Measurements, under Measurements (advanced); the menu reads "Phenotypes Interactions". The per-cell measurements are produced only when it is used in Measurements. One instance handles one pair of phenotypes, so each further pair or interval is another instance.