Examples for Custom Statistical Features
The following examples illustrate the functionality of creating custom statistical features in the image analysis wizard, see also Creating Custom Statistical Features.
Example 1: Percentage of Positive Cells
This custom statistical feature calculates the percentage of positive cells. For this, your analysis setting needs to have two classes, one for all cells and one for positive cells, for example:
Use identical segmentation parameters for both classes. In the Region Filter step you need to add a filter to define the positive cells (e.g. on mean intensity) and set the filter to include only positive cells. In the Statistics step, you then have to create this custom statistical feature with the following operands and expression:
- Operand a:
- Class: Red Positive Cell
- Feature: None
- Statistical Operation: Count
- Operand b:
- Class: All Cells
- Feature: None
- Statistical Operation: Count
- Define Custom Expression: a/b*100
After running the analysis setting containing this custom statistical feature, select the Base of the classes tree in the Analysis view tab and then you can display the percentage of red positive cells in the heatmap plot.
Example 2: Nuclear Cytoplasmic Transport
This custom statistical feature calculates the mean translocation ratio of cells in a well. For this, your analysis setting has to use the method ZOI (Zones of Influence) and needs to be set up to detect cell nuclei with a definition of an appropriate width for the ring to cover the cytoplasm near the nucleus.
In the Statistics step, define the feature Translocation Ratio and calculate the mean intensity in the second channel in the nuclei divided by the mean intensity in the same channel in the ring. Therefore, define the following operands and expression:
- Operand a:
- Class: Primary Object
- Feature: Intensity Mean Value of Channel 'EGFP'
- Statistical Operation: Mean
- Operand b:
- Class: Ring Element
- Feature: Intensity Mean Value of Channel 'EGFP'
- Statistical Operation: Mean
- Define Custom Expression: a/b