Compare groups

Analysis › Regions › Summarize · version 1

The measures of a region table compared between groups of regions --

What it does

Compares what was measured per region between groups of regions: the traces of one file against another's, the ROIs marked "good" against those marked "bad", the clusters of one condition against another. For each measure it draws a box (or a violin) per group, side by side, and gives a table of the medians – a grid of plots, as the MFX scripts draw per condition, for any region table: of the ROIs, or of an id attribute such as a MINFLUX trace (tid).

The groups are the files – open several measurements, one per condition, and measure them in one go – or any column of the results with few distinct values: an ROI keyword, a value written per region. For the regions of an id attribute they can also be an attribute of their localizations with few values: a condition File conditions wrote (a laser power, a buffer), a MINFLUX thread (thi) or measurement.

How it works

1. The results. The rows of the chosen results from – a region table, one row per region.

2. Each row's group. With group by = file: an ROI's file, or, for a region of an id attribute, the file its localizations are in. With an attribute of the localizations: the value of the region's first localization, named by its word where File conditions coded one. Otherwise the row's value of that column.

3. Per measure and group the values, their median, mean and count; the medians as a table in the text, the values as a box (median, quartiles, whiskers to 1.5 times the interquartile range) or a violin per group, one panel per measure.

Traces of two simulated conditions: their spread per trace, one box per condition.

Parameters

settingdefaultwhat it does
results from
evaluation
autoThe measurement compared, on the ROIs or per region of an id attribute.
group by
group_by
fileFile; a column of the results with few values (an ROI keyword); or, for an id attribute's regions, an attribute of their localizations with few values (a file condition, thi).

file for measurements opened together, one per condition. Columns of the results with at most 12 distinct values are offered (an ROI keyword list, a value written per region with few levels), and for an id attribute's regions the localizations' attributes with at most 12 values, marked "of the localizations".

measures
fields
–Comma separated; empty: every numeric column.

Name the few measures that answer the question; every numeric column makes a large grid.

draw as
style
boxesThe distribution per group. Choices: boxes; violins

Output

A table of the medians per measure and group in the text, the number of regions per group, and a grid of panels, up to four across, one per measure.