14 Overview
Data Analysis lets you explore a table of measurements with interactive plots, statistical comparisons, and machine learning. Use a table from Data Extraction or upload your own measurements and review their column roles.
14.1 General Workflow
- Upload your table. For a user-provided table, review and save its column roles and feature groups before analysis.
- Choose an analysis type and method on the left, then select its numerical features.
- Use the categorical and numerical filters to select the observations to analyze. Later controls operate on this filtered dataset.
- Choose groups and visual encodings. In Feature Comparison and 2D Feature Distribution, Collapse by can replace individual observations with one mean per category within each analysis group.
- Adjust the method-specific controls, plot style, and hover over points to inspect observations.
- Export the analysis as a Python script to reproduce or customize it. GMM analyses also offer labeled CSV downloads.
The plots and results update as you change the controls.
14.2 Methods
| Analysis type | Method | Numerical input |
|---|---|---|
| Univariate | Feature Comparison | One feature compared across groups |
| Univariate | Feature Histogram | One feature’s histogram or Gaussian mixture model |
| Bivariate | 2D Feature Distribution | Two features on a scatter plot |
| Bivariate | Phasor Plot | A matching pair of phasor G and S coordinates |
| Multivariate | Dimension Reduction | At least two features projected into two dimensions |
| Multivariate | Classification | One or more features used to predict categorical labels |
Phasor Plot is available after upload only when the table contains a complete G/S pair with the expected phasor column names. All methods use the shared controls below, with additional controls described in their chapters.
14.3 Input
Leave Use a table from another source off for a table produced by Data Extraction. Turn it on for your own table, upload first, then review its column roles and feature groups in the interactive configuration walkthrough. It defaults to off in a local installation and on in the hosted app, which provides Data Analysis only. The uploader accepts CSV, TSV/TXT with tab, semicolon, or pipe separators, Excel .xlsx/.xlsm, and OpenDocument .ods. Spreadsheet uploads use the first sheet.
14.3.1 Requirements
Use a plain table with column headers on the first row, one observation per row, and at least one usable numerical measurement. For a user-provided table, categorical columns, a unique row identifier, and a field-of-view column are optional. With Use a table from another source off, the table must contain the identifier named in its extraction configuration.
14.3.2 Column roles
Each column in a user-provided table has one role. The app suggests roles after upload; review them according to what the values mean.
- Row ID identifies an individual observation in hover text, such as a cell or flower. This role is optional and can belong to at most one column. Its values must be nonmissing and unique after conversion to text. Without an assigned Row ID, the app creates row numbers from
1through the number of input rows. See automatic row numbering and changing identifiers. - Categorical supplies labels for filters and visual grouping, such as species, treatment, day, or patient. Numeric codes can be categorical when they represent labels rather than quantities. For a user table, a field-of-view label also uses this role. Categories are stored as text. If every nonmissing value in a numeric category column is a whole number, labels use
1rather than1.0; missing values becomeN/A. - Numerical supplies measurements for plotting and analysis, such as length, intensity, or lifetime. At least one column with this role must contain usable numbers. Numerical columns can be organized into feature groups, each providing a dropdown in the feature pickers.
- Ignore excludes a column from analysis while recording its header in the profile, so future uploads can still be matched to the complete table structure.
Use the column’s Role dropdown to correct a suggestion or change how it is used, then save the profile. For example, assigning Categorical to a numeric treatment code makes it available as a category filter. Changing a Numerical column to another role removes its feature-group assignment. The column-review walkthrough explains these changes and the checks before saving.
If a numerical feature is missing from the feature pickers, including Uncategorized Features, first check that its Role is Numerical in a user-table review. Then inspect its values for stray text such as --. If non-numeric values account for 1% or less of the column’s non-empty values, the app converts the column to numeric, replaces those cells with NaN, and reports their count. Above that threshold, the column remains text and cannot be used as a numerical feature until those values are cleaned, even if most values are numbers.
FLIM Playground searches for categorical features in the uploaded dataset based on the user-specified configuration if the dataset is not extracted by Data Extraction. Otherwise, it searches for categorical features specified in the Data Extraction configuration.
14.3.3 Warning Messages
Warnings report cleanup such as dropping empty columns or converting a small number of stray non-numeric values to NaN (see feature recognition). Missing measurements can remain in the table. Plot methods use rows with valid values for their selected numerical features; Classification passes the selected rows to the classifier and reports an error if it cannot accept their missing measurements.
14.3.4 Error Messages
Errors block saving or analysis until the input or roles are corrected. Examples include a malformed table, an assigned Row ID containing missing or duplicate values, or no usable Numerical column. Duplicate row identifiers are not silently removed. In a user-table review, correct the identifier, choose another column, or leave Row ID unassigned to use generated row numbers. For an extraction table, check the identifier and its extraction configuration.





