Skip to content

Tables of Statistics

Tables of statistics are illustration components that display statistics for a file.

Two modes are available for statistics tables:

  • A population hierarchy displays one or more populations, along with statistics like event count or percent of parent.
  • The staining assessment calculates the quality of staining for one or more channels, based on the spread between a positive and negative population.

Tip

Like other plots, tables can be batched to create tables for multiple FCS files at once.

Population Hierarchy

The population hierarchy mode shows information for populations from an FCS file. Each population selected under General options will display a row of information, determined by the selected columns.

The columns determine exactly what statistics are displayed. Options include:

  • Population Name, which can be indented by checking indent hierarchy under the Table Layout options.
  • Unique Population Name displays the population name; if two populations have the same name, it will also show enough of the path to distinguish each population (e.g. CD45RA populations with different parent populations might show "CD4 > CD45RA" and "CD8 > CD45RA").
  • Population Path, including any parent gates back to the Ungated population.
  • All of the statistic types, except for quantile, which can only be exported from the Export Statistics page.

To add a table with population statistics to an illustration:

Howto

  1. Insert a table with the statistics table icon button in the topbar. By default, the mode will be set to Population Hierarchy, with a table that shows the population name, percent of parent, and event count for every population.
  2. Select the FCS file you want to display, or use batching to create tables for multiple files.
  3. Optionally, to customize the displayed populations, click on the dropdown under Populations and select the appropriate values.
  4. Select the desired columns by using the trash icon and Add Column buttons. For each new column, select the desired statistic from the dropdown. Some statistics will add an additional dropdown box for needed variables (for example, specify the channel to show for a mean.)
  5. Optionally, click up arrow or down arrow to rearrange the columns.
  6. Under Table Layout, check indent hierarchy to format the Population Name column to show the hierarchy, or uncheck it to remove indents.

Example: Population Hierarchy

population hierarchy table

The above example was created to show the mean value of selected cell phenotypes, with the following changes:

  • General ⮞ Populations: Only the populations of interest were left checked.
  • Table Columns: Event count and percent of parent were replaced with population path and mean. pStat5 was chosen for the mean.

Staining Assessment

The staining assessment calculates the spread between a positive and negative population from the same FCS file. The results can be displayed numerically, or as a textual grade. By selecting mutually exclusive populations for a marker, the results can provide insight into staining quality.

Calculations

The staining assessment uses the strictly standardized mean difference (SSMD) to calculate the a score that quantifies the difference between the positive and negative populations:

$$ β = \frac{\overline{X}_P - \overline{X}_N}{1.4826\sqrt{{s}_P^2 + {s}_N^2}} $$

where X is the median and s is the median absolute deviation for the positive (p) or negative (n) population.

A table with staining assessment can also show a textual grade, derived from the numeric score.

Score Grade
β < 1 Very poor
1 ≤ β < 2 Poor
2 ≤ β < 3 Moderate
3 ≤ β < 4 Good
4 ≤ β Excellent

Warning

The SSMD in CellEngine reflects the visual separation of populations with data scales applied. Changing the data scales will change the SSMD, so it is critical to set your scales correctly before using this feature.

Creating a Staining Assessment

By default, a staining assessment will be created that shows the channel name and the score. Other information that can be displayed:

  • Positive Population and Negative Population show the population names chosen for the calculations.
  • Textual Grade shows a grade from very poor to excellent based on the score.
  • Positive Median and Negative Median show the raw median values for each marker.
  • Positive Scaled Median and Negative Scaled Median show scaled median values.

Howto

  1. Insert a table with the statistics table icon button in the topbar.
  2. In options, under General, change the mode to Staining Assessment.
  3. Select the FCS file you want to display, or use batching to create tables for multiple files.
  4. Click on the dropdown under Channels, and select all the markers for assessment. Each marker will be added under Staining Assessment options.
  5. Under Staining Assessment, select a positive and negative population for each marker. Where possible, choose mutually exclusive populations (e.g. for CD20, choose B cells for the positive population and CD4 T cells for the negative).
  6. Select the desired columns by using the trash icon and Add Column buttons. For each new column, select the desired statistic from the dropdown.
  7. Optionally, click up arrow or down arrow to rearrange the columns.

Example: Staining Assessment

staining assessment example

The above example contains a staining assessment table with four markers; for comparison, pivot tables have been created showing histograms for each marker, with the relevant positive and negative populations.

The following settings were used to set up the table:

  • General ⮞ Mode: Set to Staining Assessment
  • General ⮞ Channels: Selected the channels for the table rows (CD4, CD8, CD20, and CD45RA).
  • Staining Assessment: Positive and negative populations were chosen for each channel, with the goal of selecting exclusive populations (e.g. B cells as a negative for CD8).
  • Table Columns: Columns were added for textual grade, positive and negative populations, and the positive and negative medians. Column order was adjusted with the up/down arrows.

Downloading Tables

Like other components, tables can be downloaded as a PDF or PNG file.

The data in tables can also be downloaded to a spreadsheet format:

Howto

  1. Select the table.
  2. Click on the Download tab.
  3. Under Export Table, select Download CSV/XLSX.