Skip to main content

Data table

The data table is the matrix that every analysis reads. It lives on the Data stage of an experiment (the third of the four stages). Each row is one well of the plate, each data column is one colour channel of one photo.

You build the table once, by generating it from processed photos or by importing an Excel or CSV file. After that you can edit cells, apply adjustment coefficients, export it and run analyses on any part of it.

Data Analysis

Review and edit your data, then perform statistical analysis and machine learning.

Analysis Tools
Dataset Overview
9 cells7 channels3 samples
Analysis Tools
Data Adjustments
Experiment Data Table(9 rows × 7 columns)
|
#
SAMPLE NAME
Sample Info
A
CELL COORDINATE
Sample Info
B
Origin
Classification
C
plate_01.jpg
R
D
plate_01.jpg
G
E
plate_01.jpg
B
F
plate_02.jpg
intensity
G
1Tea AA1China182.00121.0064.00118.67
2Tea AA2China181.00120.0064.00117.33
3Tea AA3China183.00122.0065.00120.00
4Tea BB1India151.0098.0047.0096.33
5Tea BB2India150.0097.0046.0095.67
6Tea BB3India153.00100.0048.0097.33
7Tea CC1China171.00113.0059.00110.67
8Tea CC2China170.00111.0058.00109.00
9Tea CC3China173.00114.0059.00111.33
9 rows × 7 columns |4 data channels |3 unique samples
Interactive demo of the Data stage. Edits stay in this page.

The stage has two parts:

  • Analysis Tools (left): dataset overview and one button per method. See the analysis dialog. ADJ opens the adjustments dialog.
  • Experiment Data Table (right): the table itself. The header shows the number of rows and columns and three buttons:

On a narrow screen the tools panel is shown above the table.

Until the experiment has data, the stage shows two buttons instead of the table:

Data Analysis

Review and edit your data, then perform statistical analysis and machine learning.

No Data Available

You can either generate data from your images or import data from an Excel/CSV file.

The Data stage before a data table exists.

Rows and columns​

  • One row = one well that is assigned to a sample in the plate schema. Empty wells (not assigned to any sample) are not in the table. In the demo above the plate has 3 × 4 wells, 9 of them belong to samples, so the table has 9 rows.
  • Row order depends on the generation mode: Group by Sample (rows of one sample together, samples sorted by name) or Grid Order (A1, A2, …, B1, …). Imported tables keep the row order of the file.
  • The # column shows row numbers starting from 1. They are the row numbers of the range notation (D2:G9).
  • Every column has a letter in the top-right corner of its header (A, B, C, …, Z, AA, AB, …). Letters and row numbers together give Excel-style references to cells, used in the data range of an analysis.
  • The line under the table shows totals: rows × columns | data channels | unique samples. Unique samples is the number of distinct sample_name values, that is the number of samples, not wells.

The dataset overview in the tools panel counts the same things with other words: cells is the number of rows (wells), channels is the number of all columns, including the sample and class columns, and samples is the number of distinct sample names.

Column types​

Columns always appear in this order: sample information, classification columns, data columns. The type decides what a column can be used for.

TypeHeader (title / subtitle)ContentUsed as
Sample infoSAMPLE NAME / Sample InfoSample name from the plate schemaGroups for Group K-Fold CV and replicate averaging; can also be a label column
Sample infoCELL COORDINATE / Sample InfoWell position on the plate (A1, B3…)Reference only
Classificationclass type (e.g. Origin) / ClassificationClass of the sample for this class typeLabel column of classification methods
Dataphoto file name / channel (R, G, B, intensity…)Colour value of the well on this photoFeatures (the data range)

Details:

  • Classification columns come from the class types of the plate schema, one column per class type. Wells whose sample has no class of that type stay empty; supervised analyses skip such rows.
  • Data columns are grouped by photo, in the order of the photos in the experiment, and inside a photo by channel: R, G, B, intensity, rg_intensity, rb_intensity, gb_intensity. What a channel contains is explained on Generate data from images.
  • Data values are shown with two decimals. The stored value is not rounded.
  • Internally a class column is called class_<type> and a data column <file name>_<channel> (for example plate_01.jpg_R). You see these names in the exported Excel file.

Editing cells​

Click a cell to edit it. Data cells accept numbers, sample and class cells accept any text.

  • Enter or a click elsewhere saves the value, Esc cancels.
  • A data cell with text that is not a number gets the value 0.
  • Editing a sample name or a class changes how rows are grouped and labelled. Use it to fix typos or to relabel a sample.
Experiment Data Table(9 rows × 7 columns)
|
#
SAMPLE NAME
Sample Info
A
CELL COORDINATE
Sample Info
B
Origin
Classification
C
plate_01.jpg
R
D
plate_01.jpg
G
E
plate_01.jpg
B
F
plate_02.jpg
intensity
G
1Tea AA1China182.00121.0064.00118.67
2Tea AA2China181.00120.0064.00117.33
3Tea AA3China183.00122.0065.00120.00
4Tea BB1India151.0098.0047.0096.33
5Tea BB2India150.0097.0046.0095.67
6Tea BB3India153.00100.0048.0097.33
7Tea CC1China171.00113.0059.00110.67
8Tea CC2China170.00111.0058.00109.00
9Tea CC3China173.00114.0059.00111.33
9 rows × 7 columns |4 data channels |3 unique samples
Interactive demo: click a cell to edit it, drag to select, right-click a selection for the menu.
Edits are kept in the browser until they are saved

The table is saved to the server when you click Save Changes at the top of the experiment page, when you switch to another stage, and when you click any method button in Analysis Tools (the table is saved before the analysis dialog opens). Analyses always use the saved table. If you close the page without saving, the edits are lost.

Context menu​

Select cells, then right-click inside the selection:

CopyCtrl+C
CutCtrl+X
PasteCtrl+V
DeleteDel
CommandShortcutWhat it does
CopyCtrl+CCopies the selection as tab-separated text (Excel and other spreadsheets can paste it)
CutCtrl+XCopies the selection, then clears it
PasteCtrl+VWrites copied values starting at the top-left cell of the selection
DeleteDelClears the selected cells

On macOS use Cmd instead of Ctrl.

  • Paste in the menu is available after you copy or cut cells in the table. Ctrl+V also pastes text copied from another program, for example a block of cells copied in Excel.
  • Pasted rows go down from the first selected row and may go below the selection. Pasted columns are limited to the width of the selection: to paste a block of three columns, select at least three columns first.
  • In data columns a pasted value is read as a number. Use a dot as the decimal separator: 12,5 is read as 12. Text that is not a number becomes 0, an empty value leaves the cell empty.
  • Esc clears the selection.
Cleared cells

A cleared data cell is empty, and analyses read it as 0. A cleared class cell is an empty text, which the analysis treats as one more class (it is not skipped like a class that was never assigned). To leave rows out of an analysis, exclude their classes in the analysis dialog instead of clearing cells.

Selecting a data range​

Drag the mouse over cells to select a rectangle. The bar above the table shows its reference (Selected: D2:F4), and Clear Selection removes it. The selection is used by the context menu and the keyboard shortcuts.

The data range of an analysis is also written in this notation: the feature columns and rows the method uses, for example D1:G9. By default the analysis dialog takes all data columns and all rows. To pick a range with the mouse:

  1. In the analysis dialog, click the cursor button next to Data Range. The dialog hides and the table switches to range selection mode: an info bar appears, sample and class columns are greyed out, and the selection turns green.
  2. Drag over the data cells you need. Only data columns are selected, even if the drag crosses other columns.
  3. When you release the mouse, the dialog comes back with the range in Data Range. Cancel in the info bar returns to the dialog without changes.
Experiment Data Table(9 rows × 7 columns)
|
#
SAMPLE NAME
Sample Info
A
CELL COORDINATE
Sample Info
B
Origin
Classification
C
plate_01.jpg
R
D
plate_01.jpg
G
E
plate_01.jpg
B
F
plate_02.jpg
intensity
G
1Tea AA1China182.00121.0064.00118.67
2Tea AA2China181.00120.0064.00117.33
3Tea AA3China183.00122.0065.00120.00
4Tea BB1India151.0098.0047.0096.33
5Tea BB2India150.0097.0046.0095.67
6Tea BB3India153.00100.0048.0097.33
7Tea CC1China171.00113.0059.00110.67
8Tea CC2China170.00111.0058.00109.00
9Tea CC3China173.00114.0059.00111.33
9 rows × 7 columns |4 data channels |3 unique samples
Specify the range of cells containing feature data (e.g., D2:O98). Click the cursor icon to select range interactively.
Interactive demo: click the cursor button, then drag over data cells.

Each drag gives one rectangle. To combine several blocks, type them into Data Range separated by commas, for example D1:F9, H1:H9.

The rows of the range decide which wells the analysis uses; the label column is chosen separately in the dialog, so the range does not need to include it. See Analysis dialog for the label column, class filters and column filters.