11 Overview
We are not done yet 😱! FLIM Playground also provides a suite of methods to analyze and visualize the extracted data (either using the Data Extraction section or in users’ own way). They are designed to be interactive and frictionless ⚡ so that users can perform hassle-free exploration of their data with, hopefully, fun 😎. Inspired by the same data categorization in Data Extraction, the Data Analysis section designs an architectural blueprint that all in-house analysis methods build on. It is modularized so that new methods and features can be added in the future easily.
11.1 General Workflow
- Select numerical feature(s) on the left.
- Subset the data to find data of interest on the top. All the later interactions are based on this filtered dataset.
- Use visual channels widgets to look at the data in different ways.
- Change the plot style.
- Hover to find data points of interest.
- Interact with method-specific widgets that typically are associated with a modeling method.
The visualization and analysis results are updated in real time to reflect users’ interactions with any of the above widgets.
11.2 Methods
- Depending on the number of numerical features in the analysis, the methods are categorized into 3 groups:
- Univariate Analysis
- Bivariate Analysis
- Multivariate Analysis
All the methods share a set of interactive widgets. They also have their own method-specific widgets, the descriptions of which are provided in the corresponding method pages.



11.3 Input
Users can upload the dataset output from the Data Extraction directly or their own datasets in CSV (Comma Separated Values) format after finishing the interactive configuration setup.


11.3.1 Requirements
In either case, following the categorization, the dataset should have:
- a column that uniquely identifies each row
- an (optional) field of view identifier column
- a set of numerical features
- zero or more categorical features (e.g. treatment, day, patient id, etc.)
The unique row id and field of view id are used to help users identify the row (e.g. a single cell) and field of view (e.g. a single image) of data of interest through the built-in hover-based interaction. Numerical and categorical features are used to render shared widgets. Internally, FLIM Playground will check whether the dataset fulfills the requirements and output meaningful warning or error messages.
If you cannot find a certain numerical feature under any numerical widgets including Uncategorized Features, please inspect the dataset (e.g., using Excel filters) and look for non-numeric values in that column. One non-numeric value (e.g., “–”) will prevent it from being recognized.
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.
11.3.2 Warning Messages
Empty columns: will be dropped.Duplicated columns: Only the first occurrence of the duplicated column will be kept. Other occurrences will be dropped.Duplicated rows based on the unique row id: Only the first occurrence of the duplicated row will be kept. Other occurrences will be dropped.Columns with NaN values: won’t be dropped, just a warning message.- The analysis will be performed on the rows that are not NaN in the selected numerical features.
11.3.3 Error Messages
- Missing a column that uniquely identifies each row
- Cannot identify any numerical feature column
- It uses
pd.api.types.is_numeric_dtypeto check if a column is numerical.
- It uses
Warning messages will not prevent the analysis but error messages will.









