Analysis › Regions › Summarize · version 1
Write the results table – a row per ROI or region, a column per
Writes the results table – a row per ROI (region of interest), or per region of an id attribute such as a cluster, and a column per number the per-region steps measured – to a csv file, for the statistics and figures made in a spreadsheet, in Python or in R.
The table is what the ROI manager's results show: every measurement made on the ROIs side by side, or, with results from, one named measurement – on the ROIs, or per cluster. The ROIs' annotations (their keywords) are columns of it too. Tick the columns to write in columns.
With ROI position, each ROI's row also has its centre, its file and its comment: what is needed to find an ROI again from a row of the spreadsheet.
1. The rows. The included ROIs (use ticked) whose results still describe them, in the order of the ROI list – as Sort ROIs left it – or the regions of the id attribute the chosen measurement was made per.
2. The columns. roi_id (the ROI's number, or the region's id) and file_id first; with ROI position then x_nm, y_nm, file and comment; then every number measured and every annotation, in the order they first appear. Only the ticked ones are written; all ticked writes every column there is when it runs.
3. The file. Commas in a .csv, tabs in a .tsv or .txt, one header line. A value an ROI does not have – a measurement that failed there, a keyword it was not given – is an empty cell.
| setting | default | what it does |
|---|---|---|
filepath | – | .csv: commas; .tsv or .txt: tabs. |
results fromevaluation | auto | The measurement whose table is written, on the ROIs or per region of an id attribute; auto: everything measured on the ROIs. |
ROI positionpositions | on | Add each ROI's centre, its file and its comment. Off for a table that only feeds a statistic; on to go back to the ROIs, or to draw the sites on a map of the sample. A region of an id attribute has no position of its own and gets none: its centre is a measurement (Localization Statistics' mean position). |
columnscolumns | The columns to write; all ticked writes every column there is when it runs. |
The file, and a line saying how many rows and columns were written where. The export is written into the history, since where a file went is not visible in the file.
Based on SMAP's ExportEvaluationsTable (Ries 2020), which writes every single number one evaluator measured per site, with the site, its cell and its file, to a csv. The main changes:
SaveSiteParameters, which saved the sites with everything they held as a MATLAB file, has no counterpart: the ROIs and their results are saved with the localizations by Save.