User guide · Chapter 05
Layouts, results and notes sheets
This chapter deals with four kinds of sheets that the earlier chapters only touched on. Layouts assemble several graphs, texts and pictures on one page, to build a publication figure. Results sheets show what an analysis computes: results tabs, output tables, graphs, excluded values, number display. Notes sheets keep the constants and notes of the experiment, with rich-text formatting. Finally, linked sheets gather all the sheets tied to one another, and the chapter ends with searching the project (Find), attached files, voice memos and sticky notes.
Menus, the ribbon and the navigator are described in the chapter "The interface"; tables, in the chapter "Data tables"; graphs, in the chapter "Graphs". Exporting and printing layouts are covered in the chapter "Import, export, print".
Layouts#
What a layout is#
A layout is a sheet of the Layouts section of the navigator (shortcut Alt+5 to go there). It is a sheet of paper on which you arrange:
- graphs, which stay linked to their graph sheets: if a graph's data or format change, its copy on the page changes too;
- objects: texts, text boxes, lines, arrows, shapes, pictures, embedded tables, linked constants (see the chapter "Graphs" for how to create and format them);
- a general title, a page size (paper, orientation) and a background color.
A layout contains no data. It shows the graphs as they are at the moment you look at it, reduced or enlarged to fit their frame. Deleting a graph also removes it from the layouts that showed it.
A project can contain as many layouts as needed: one per figure of a paper, one for a poster, one for a slide. The same graph can appear on several layouts.
Creating a layout#
- Sheet › New Layout… (or the New Layout… button in the menu of the ribbon's new-sheet button, or the Add a layout… entry at the bottom of the Layouts section of the navigator).
- The Arrange Graphs on a Layout window opens: tick the graphs to place, set the grid (Rows, Columns) and the orientation (Landscape).
- Click Create layout. The sheet "Layout" (then "Layout 2", and so on) appears in the Layouts section and becomes the active sheet.
The whole creation is a single undo operation ("New layout").
The "Arrange Graphs on a Layout" window#
The same window is used to create a layout and to rearrange an existing one.
- Rows and Columns: the number of rows and columns of the grid, from 1 to 10. When it opens for a new layout, Variance proposes the squarest grid that holds all the graphs (for 5 graphs: 3 columns, 2 rows). If the chosen grid is too small for the ticked graphs, Variance adds rows: no graph is left out.
- Landscape: landscape page. Ticked automatically as soon as the proposed grid has more than one column.
- Graphs: the list of all the graphs of the project, each with a box. For a new layout, all are ticked; untick those you do not want.
- Create layout (new layout) or Rearrange this layout (existing layout) applies; Cancel closes.
The ticked graphs are placed in the order of the list, row by row, from left to right, in a grid whose cells share the page with a margin of 36 points (0.5 inch) and a small gap between cells. If the layout already has a general title, the grid starts a little lower to leave it room.
To rearrange an existing layout, display it, then Format › Graph Grid… (or Graph Grid… in the page's context menu, or the Arrange Graphs… button above the page, or Arrange graphs… in the Inspector). The window puts at the top of the list, ticked and in their order, the graphs already placed, then the other graphs, unticked: tick some to add them.
Placing more graphs#
Three methods add a graph to a layout without touching the others.
By drag and drop from the navigator. Display the layout, then drag a graph from the Graphs section onto the page. When the pointer is over the page, it is surrounded by a blue frame. Release: the graph is placed, centered on the drop point, at a size such that it takes at most half the width and half the height of the page (never enlarged beyond its original size). It is selected, ready to be moved or resized. Only graphs can be dropped: if you drop another sheet, Variance answers "Only graphs can be placed on a layout".
By the "Add a Graph to the Layout" window. Objects › Add a Graph… (or Add a Graph… in the page's context menu) opens the list of the graphs of the project, with the note "Graphs to add (they stay linked to the layout): ". Tick the graphs, then OK. Each graph is placed at the left edge of the margin, below the graphs already there, at its original size (reduced only if it is wider than the page minus the margins), one below the other. This method is handy for stacking graphs, less so for a grid: you will then move them with the mouse.
By copy and paste. A graph selected on a layout can be copied (Ctrl+C) as a picture, which you can paste into another document; pasting a picture into a layout places a picture (an object), not a linked graph. Use the two previous methods for graphs.
Objects › Add a Graph… is available (not greyed out) only when the active sheet is a layout.
Selecting, moving and resizing a graph#
On a layout, each graph is an object that you handle like drawn objects (see "Editing a graph with the mouse" in the chapter "Graphs").
- Clicking a graph selects it; Shift+click or Ctrl+click adds a graph to the selection or removes it; a drag started on the page background draws a selection rectangle.
- Dragging a graph moves it; the arrow keys move it by one point, Shift+arrows by ten points.
- The eight handles around a selected graph resize it; the corner handles keep the proportions.
- Double-clicking a graph opens its graph sheet, to edit it at the source (to come back to the layout, click it in the navigator or use Alt+5).
- Delete (or Edit › Clear) removes the graph from the layout; the graph sheet itself is not deleted. Cut (Ctrl+X) copies the picture of the graph and removes it from the page.
- Position and Size… (Arrange menu, or a graph's context menu), or Objects › Position and Size…, opens the Position and Size… window: Left (pt), Top (pt), Width (pt) and Height (pt), to place the graph to the nearest point (an A4 page measures 595 × 842 points).
The size of a frame is not the size of the graph: Variance draws the graph inside the frame, keeping its proportions, centered. If the frame does not have the same proportions as the graph, there is therefore some empty space on one side. Above all, the graph is scaled as a whole, text included: a graph reduced by half also has texts half as large.
The precise settings of a placed graph are also in the Inspector (Graphs on the page section, see below).
Aligning, distributing, equalizing#
The Arrange menu acts on the selected objects of a layout. Here is what is specific to graphs.
- Align: Left, Center, Right, Top, Middle, Bottom. With several objects selected, they align on the rectangle that contains them all; with a single object selected, it aligns on the page. To center a graph on the page: select it, then Align › Center.
- Distribute: Horizontally or Vertically spreads the centers of the objects at equal intervals between the first and the last; at least three objects are needed (otherwise: "Select at least three objects to distribute them").
- Line Up X Axes: moves the selected graphs vertically (all of them, if fewer than two are selected) so that the bottoms of their plot areas are at the same height, that is, so that their X axes line up. Line Up Y Axes does the same horizontally: the left edges of the plot areas, hence the Y axes, line up. The first graph of the selection is the reference. These two commands align the axes themselves and not the frames, which matters when graphs have different margins (wider legends, axis titles).
- Center on the Page: centers on the page the group formed by the selected graphs (all of them, if none is selected).
- Same Size for All Graphs: gives all the graphs (or the selected graphs, if there are at least two) the width and height of the first one.
The other commands (Bring to Front, Send to Back, Group, Ungroup, Lock / Unlock, Duplicate, Delete, Nudge) are described in the chapter "The interface". A placed graph cannot be locked: Lock / Unlock concerns only drawn objects.
The page size#
- Format › Page Size… (or Page Size… in the page's context menu) opens the Page Size window: the A4, Letter, Legal, A3 and Custom buttons, and the Landscape box. With Custom, two fields appear: Width (pt) and Height (pt), from 100 to 3000 points, in portrait (width and height of the page in portrait). OK applies.
- Format › Portrait / Landscape (or the context menu command) switches the orientation in one gesture.
- Format › Background Color… opens the Background Color window: a color picker (Color), white by default. The background of a layout is never transparent.
Sizes offered: A4 595 × 842 points (210 × 297 mm), Letter 612 × 792, Legal 612 × 1008, A3 842 × 1191, in points (1 point = 1/72 inch). Changing the page size does not move the graphs: if you go from A4 to A3, the figure stays in the upper-left corner. Then run Graph Grid… again, or use Center on the Page.
The general title#
The general title is a text centered at the top of the page, in bold, printed and exported with the figure. It is entered in the Inspector: select the layout (no object selected), Page section, Title: field. Clear the text to remove the title.
The title is plain text: it does not accept the superscript and Greek-letter markup of graph texts, and it cannot be moved with the mouse. If you want a formatted title, placed where you want it, or figure legends ("A", "B", "C" above each graph), use Text objects (see the chapter "Graphs").
Adding or removing a title does not move the graphs already placed; Rearrange this layout takes it into account to reserve room for the title.
The Inspector panels for a layout#
Display the Inspector (button at the far right of the menu bar). For a layout it shows:
- Selected object: if a text or shape is selected, its settings (the same as the Format Object window);
- Page: the paper list (A4, Letter, Legal, A3), the Landscape box, the Title: field and the Background color button;
- Graphs on the page: one collapsible entry per placed graph (the selected graph is preceded by ▶). It contains the position (x**, **y) and size (w**, **h) in points, the Border box (a thin black frame around the graph), Rotation (0°, 90°, 180° or 270°: the graph turns by one or more quarter turns counter-clockwise and fills its box, width and height swapped for 90° and 270°; its texts turn with it, a picture pasted in the graph keeps its orientation) and the Remove button (removes the graph from the page). Further down, the Same size buttons (all the graphs take the size of the first) and Arrange graphs….
Changes in the Inspector apply immediately, and successive changes made in the same field form a single undo step.
Objects on a layout#
Texts, text boxes, lines, arrows, rectangles, ellipses, arcs, pictures, embedded tables and linked constants are placed on a layout as on a graph: through the Objects menu (Insert, Embedded Table…, Value from Notes or Results…, Picture…), through the Annotate group of the ribbon, or through the page's context menu. They are positioned in points from the upper-left corner of the page (not of a graph's plot area). They are handled exactly as on a graph: see "Drawing and writing on the graph" and "Embedded tables, linked constants and pictures" in the chapter "Graphs".
Common uses on a layout: panel letters (A, B, C), arrows and annotations pointing at a detail of a graph, an embedded table of descriptive statistics below the figure, a linked constant "n = 12" that follows the analysis, a scale bar, the laboratory logo.
Preparing graphs for a layout#
Because each graph is reduced as a whole, text included, a few precautions give a uniform figure:
- Size the graphs to their final size before the layout, with Format › Graph Size or Frame and Crossing of Format Axes (chapter "Graphs").
- Apply Format › Match Graphs to an Example… to harmonize the axes, sizes, fonts and data sets of a set of graphs (see "Matching several graphs to an example").
- Place the graphs and equalize them (Same Size for All Graphs).
- Check on screen at 100% (Ctrl+0) that the texts are legible at print size: an 8-point font in a graph reduced to 60% becomes a font of less than 5 points.
For a project with several figures, duplicate the layout (Duplicate Sheet): the copy shows the same graphs, which you can replace or rearrange.
Results sheets#
A results sheet is created by Analyze (see the chapter "Getting started" for a first analysis, and the statistics tutorial for the analyses themselves). It is filed in the Results section of the navigator (Alt+3 to go there). It contains no data: it remembers which analysis was requested, on which data, with which parameters, and displays the result, recomputed whenever necessary.
Anatomy of a results sheet#
From top to bottom:
- The sheet's title bar: the icon, the full name of the analysis (for example "Two-Group Comparisons"), then the buttons Settings… (Ctrl+Shift+A), Run Simulation Again (only for analyses of the Simulate family; Shift+F9), Copy (copies the displayed tab to the clipboard, Ctrl+C), Copy Methods (copies a manuscript-ready Statistical Analysis paragraph citing the exact test, model options, confidence level, and Variance version across all 49 analyses), Export…, Check in R… (all 49 analyses), and Check in Python… (all 49 analyses with NumPy/SciPy; exports the data and a standalone script that redoes the analysis and compares each result with Variance's).
- The "Input table:" line: the name of the analyzed table, followed by "· locked" if the results are locked. If the table has been deleted, an orange message says so: "The data table analysed by this sheet was deleted (orphaned results)." (see "Orphaned results" below).
- The warnings: the analysis's remarks (insufficient data, doubtful assumption, uncertain convergence...) are shown in orange, preceded by ⚠. Read them: they often explain a missing result or one to be interpreted with caution.
- The tabs: a row of buttons, one per results page, then those of the output tables (preceded by ⊞).
- The tab content: a table.
If the analysis could not be computed, the sheet shows the error in red instead, preceded by ⚠ (for example, data that do not suit it), and the sheet name is red in the navigator. Fix the cause (the data, the parameters): the computation resumes by itself. A sheet that has never been computed shows "Not computed yet.".
The results tabs#
Each tab is a table: the first column holds the labels, the following ones the values. Section titles are in bold, some rows are separators. Depending on the analysis, the tabs have names such as Results, Descriptive statistics or Residuals: they are described in the "Reading the results" section of each analysis in the tutorial.
The t tests (one sample included), one-, two- and three-way ANOVA, correlation, simple and multiple linear regression (Poisson included), multiple logistic regression, Cox regression, nonlinear regression, ROC curves, contingency tables and survival analysis add a last tab, Narrative results, which states each test in sentences: the question asked ("Is there an effect of Dose?"), the share of the variance explained, the P value, the chance of observing an effect this big if the null hypothesis were true, and the conclusion ("The effect is highly significant (P < 0.001)."). The wording follows the α threshold of the analysis: highly significant (P < 0.001), significant (P < 0.01), significant (P < α), then not significant at the α level, completed by "though P < 0.1" between α and 0.1 when α is at least 0.05. This tab is copied and exported like the others, one sentence per line.
- Clicking a tab name displays it. Ctrl+1, Ctrl+2, Ctrl+3 display the first three tabs; Ctrl+Tab and Ctrl+Shift+Tab go to the next and the previous.
- Columns are resized by dragging the right edge of a header.
- Clicking a cell puts the cursor on it (a frame surrounds it): this is the cell targeted by Cell Color.
- Ctrl+C (or Select All then Copy) copies the whole displayed tab, tab-separated, to paste into a spreadsheet or a word processor. The decimal separator follows Preferences › Saving and Printing › Decimal separator (copy and export) (system regional setting by default).
Numeric values are displayed with the analysis's number of significant digits, and P values according to the chosen style (see "Number format" below). The display is rounded, the computations are not: a P displayed as "<0.0001" keeps its true value in calculations.
Output tables#
Some tabs, marked ⊞, are not pages of text but real tables: a fitted curve evaluated at many points, transformed values, residuals, a ROC curve, the values of multiple tests... Above the table, a line recalls the type and size, for example "XY table, 40 rows", with two buttons:
- Plot These Results: creates a graph of this output table. It is filed in the Graphs section like any graph, and stays linked to the analysis: if the data or parameters change, it follows (see "Graphs of results" below);
- Analyze These Results: opens the Choose an Analysis window to analyze this output table in turn. Analyses chain in this way: edit the first one, the following ones are recomputed.
The headers of the output table are the titles of its data sets (the Y columns); the first column is the row label or the X column; a possible "X error" column follows. The numbers are displayed with the same number of significant digits as the results tabs.
An output table cannot be edited by hand: you do not type in its cells. You can, however, exclude values from it and give them a point format, which changes what graphs show and what later analyses see (see below).
Graphs of results#
There are three ways to get a graph of an analysis.
- Automatically. Some analyses complete the data graph (the fitted curve of a regression, for example) or create a graph of their output table (Bland-Altman, ROC curve, transformations...), as explained in the chapter "Getting started". The analysis and the graph created are undone together by a single Ctrl+Z.
- With the "Plot These Results" button of an output table, or with the graph icon of a row of the Output tables entry in the Inspector (tooltip "Graph this table").
- With Sheet › New Graph…, with the results sheet active: the graph is based on the first output table of the analysis (see the chapter "Graphs").
These graphs are edited like all the others. What is specific to them: they hold no data of their own, they read the output table, and are therefore redrawn as soon as the analysis's parameters or data change. For comparison analyses, the data graph can also carry the pairwise comparisons, the group letters or the table of numbers at risk (see "Comparisons, letters and numbers at risk" in the chapter "Graphs").
In the sheet of a results graph, Format › Analysis Settings… (or Ctrl+Shift+A) opens the parameters of the analysis that supplied the curve or table: you can adjust the analysis without changing sheets.
Changing the analysis settings#
- Display the results sheet (or a graph that depends on it).
- Ctrl+Shift+A, or Format › Analysis Settings…, or Analysis › Analysis Settings…, or the sheet's Settings… button, or the parameters button of the ribbon's Analyses group, or ⚙ Analysis settings… (Ctrl+Shift+A) in the Inspector.
- The settings window of the analysis (its name followed by "– settings") opens with the current options, arranged in tabs specific to the analysis (the first is usually Options), plus a Data sets tab ("Data sets to analyze:").
- Make your changes, then OK. The analysis is recomputed immediately; the display returns to the first tab.
The window is the same as the one used when creating the analysis: OK, Cancel, Defaults (restores the analysis's default parameters) and the Save as the default for new analyses box. The options specific to each analysis are described in the statistics tutorial.
If no analysis is associated with the active sheet, Variance answers "No analysis here: open a results sheet (or a graph of results) to change its parameters, or analyze these data first".
Changing the data analyzed#
To redo the same analysis on other data, without recreating it, use Format › Analyzed Data… (or Analyzed Data… in the context menu of a results tab). The Analyzed Data window offers:
- the Analyze list: all the tables the analysis can use, that is, data tables of a type accepted by the analysis and output tables of other results, shown in the form "Sheet › Output table". The results themselves and those derived from them are not in the list: an analysis cannot analyze its own results;
- Analyzed data sets: one box per data set of the chosen table ("A - Control", "B - Treated"...). Untick those that should not enter the analysis. Keeping all the data sets ticked amounts to "all of them, including those added later";
- OK applies and recomputes; Cancel closes.
If the sheet's name followed the old table ("Table 1 – Two-Group Comparisons"), it follows the new one ("Table 2 – Two-Group Comparisons"). A name you have customized does not change.
Possible refusals: "these results are locked: unlock them to change the data analyzed"; "an analysis cannot analyse its own results"; "… cannot analyze a … table" when the table type does not suit the analysis.
Recalculation#
Results are live. Changing a value, adding a row, excluding a point or changing a column title in the table recomputes the analyses that use it, then the graphs that show them, then the analyses chained on their output tables. There is nothing to request. The computation is ordered: an analysis that depends on another is recomputed after it.
Analysis › Recalculate All (or the recalculation button of the ribbon's Analyses group, or Recalculate All in the results context menus) recomputes all the analyses of the project, in dependency order. Use it as a precaution after a long session, or to check that a result has not stayed locked. Locked analyses are not recomputed. The status bar shows "All analyses recalculated". When a project is opened, the results are recomputed.
Simulations: Run Simulation Again#
The analyses of the Simulate family draw random numbers. Analysis › Run Simulation Again (Shift+F9, the Run Simulation Again button of the sheet or the ribbon, Format › Run Simulation Again on a results graph) draws new numbers and recomputes. On an analysis that is not a simulation, the command answers "Run Simulation Again applies to the results of a simulation": another analysis would give exactly the same results. See the chapter "Simulate" of the tutorial.
Locking results#
Locking a sheet protects it from any modification. For results, it is above all the guarantee that the values no longer change, even if the data change afterwards.
- Display the results sheet.
- Sheet › Lock Sheet, or the lock button of the ribbon's Sheets group, or Lock / Unlock Sheet in the navigator's context menu, or the Lock the results (no recalculation) box in the Inspector.
- The "Input table:" line shows "· locked"; the sheet name turns italic in the navigator; the status bar shows "LOCKED".
The same command unlocks. A locked results sheet is no longer recomputed (even by Recalculate All), no longer accepts new parameters or new data analyzed, and ignores changes to the original table.
When to lock? To keep the published result of an analysis while you continue exploring the data; to keep a record before correcting a value; to keep a simulation draw. It is also protection against accidental modification.
Number format#
Format › Decimal Places… (or Decimal Places… in the context menu of a results tab, or the number-format button of the ribbon's Format group) opens the Decimal Places of Results window, which sets two things:
- Significant digits: the number of significant digits of the values, from 1 to 15 (4 by default). This is not a number of decimal places: with 4 significant digits, 12.3456 is displayed 12.35 and 0.00123456 is displayed 0.001235. Trailing zeros are not displayed (0.5 stays 0.5); very small or very large numbers switch to scientific notation.
- P value format: the presentation of P values and their star summaries:
| Style (list label) | Examples |
|---|---|
Standard: 4 decimals, * to **** | 0.2481 (ns), 0.0417 (*), 0.0063 (**), 0.0004 (***), <0.0001 (****) |
Detailed: 6 decimals, * to **** | 0.248133 (ns) … <0.000001 (****) |
NEJM: 2 or 3 decimals, * to *** | 0.25 (ns), 0.042 (*), 0.006 (**), <0.001 (***) |
APA: no leading zero, * to *** | .25 (ns), .042 (*), .006 (**), <.001 (***) (no zero before the decimal point) |
The NEJM and APA styles have no four-star level and give three decimals below 0.1 (to tell 0.049 from 0.05). The stars mean: ns for P ≥ 0.05, * for P < 0.05, ** for P < 0.01, *** for P < 0.001, **** for P < 0.0001 (standard and detailed styles).
OK applies the setting and recomputes. This is about presentation, not computation. The starting values for new analyses are set in Preferences › Analysis (chapter "The interface"). This setting is part of the analysis settings: it is refused for locked results ("these results are locked…").
For data tables (as opposed to results), the same ribbon button opens Decimal Places for the table, with a fixed number of decimal places (see the chapter "Data tables").
Excluding values from an output table#
As in a data table, you can exclude a value from an output table: it remains visible, in blue, italic and followed by an asterisk, but it is no longer used by the graphs of that table or by the analyses made on it.
- Display a tab marked ⊞ (an output table).
- Click the value to exclude (in a column of Y values, not in the X column or the row-labels column).
- Edit › Exclude or Include Values (Ctrl+Shift+D), or the ribbon's exclusion button, or Exclude / include value in the cell's context menu.
- The status bar announces "Value excluded" (or, through the context menu, "Value excluded from graphs and analyses of these results"); the same command includes the value again ("Value included again").
In an ordinary results page (a tab without ⊞), exclusion makes no sense: Variance answers "Values can be excluded in the output tables of results (tabs marked ⊞)", and "Select a Y value of the output table first" if the cell is not a Y value. The command acts on one value at a time (the cell under the cursor). To set aside an outlier from the starting data, exclude it in the data table instead: it is then set aside from the analysis itself.
Cell colors#
In a results page, you can color the background of a cell to spot it (a P to check, a value to quote). Click the cell, then Format › Cell Color (or Cell Color in the cell's context menu) and a color: Yellow, Red, Blue, Green, Purple, Orange, Tan, Gray, or None to remove it. The color has no effect on calculations or graphs. It is saved with the sheet and attaches to the position of the cell (tab, row, column): if a change of parameters alters the layout of the rows, the color stays on the same position, not on the same value.
Background color applies only to results pages (tabs without ⊞), not to output tables.
Point Style on an output table#
Format › Point Style… (or Point Style… in the context menu, or the ribbon button) gives particular points of an output table their own color, symbol or size, in all the graphs of that table. The Point Style window is described in the chapter "Data tables" (section "Point Style: highlighted points"). On results:
- Display the output table (⊞ tab), then click the value to highlight: the window presets itself to that data set and that row.
- Open Point Style…. Data sets from … to … and Rows from … to … designate the values concerned; you can widen them (several rows, several data sets).
- Tick the property you want (Color, Symbol, Size), choose its value, then OK ("N point(s) formatted"). To undo, choose Restore the data set format for these points.
If the displayed tab is not an output table, Variance answers "Select values in a data table or in the output table of results".
Copying and exporting results#
Copy copies the displayed tab (results page or output table); Export… (sheet button, or File › Export › This Sheet…) saves the results to a file (see the chapter "Import, export, print"). To put results in a figure, you also have embedded tables and linked constants (chapter "Graphs"; see also "Using constants in graphs and layouts" below).
Orphaned results#
If the analyzed table is deleted, the results sheet becomes orphaned: it keeps its last results, reports "The data table analysed by this sheet was deleted (orphaned results).", shows "Input table: (deleted)", its name is red in the navigator and the status bar shows the ORPHANED badge. To repair it, point it at another table with Format › Analyzed Data… (or undo the deletion with Ctrl+Z).
Notes sheets#
An Notes sheet keeps what one forgets to write down: the date of the experiment, the lab notebook number, the protocol, the reagent lot, but also free notes (conditions, incidents, exclusion decisions, interpretation). It is filed in the Notes section of the navigator (Alt+2 to go there). It consists of two areas: a list of constants (a name and a value) and rich-text notes.
Creating an Notes sheet and linking it to a table#
- Sheet › New Notes, or New Notes Sheet in the menu of the ribbon's new-sheet button, or the Add notes… entry of the Notes section of the navigator.
- Variance creates the sheet "Project info" (then "Project info 2", and so on) with the default constants: Experiment date, Experiment ID, Notebook reference, Project, Experimenter, Protocol. These are those of Preferences › Notes Sheet › Default constants:, which you can change (chapter "The interface").
- At the top of the sheet, the Documents: list shows what the sheet describes: "The whole project" or a data table. To link it to a table: choose the table in the list, or Format › Attach to a Table… (Attach to a Table window: "This notes sheet documents: " The whole project or Data table and its name, then OK), or the Linked to: list of the Inspector.
A sheet attached to a table is one of its linked sheets (see "Linked sheets"). A project sheet is linked to no table. The automatic creation of an Notes sheet for each table (Preferences › Notes Sheet › Create a notes sheet with each new table) is described in the chapter "Data tables".
Constants#
The Constants area is a table of four columns: the row number, the Name, the Value and, on the right, a small icon when the value is a web link. A help line reminds you: "shown on graphs and layouts with {info:Name}; right-click a row for more".
- Entering. Click in a Name or Value box and type. The name serves as the key: two constants with the same name (ignoring case) are ambiguous; the value is text (a number in it is read as a number when it is used).
- Adding. + Add constant adds a row at the end of the list, named "Constant 1", "Constant 2"... (the first free name).
- Selecting rows. Clicking a row's number selects it; Ctrl+click adds or removes a row; Shift+click selects from the anchor row to the clicked row.
- Moving. The ⏶ and ⏷ buttons (tooltips "Move the selected rows up" and "Move the selected rows down") move the selected rows up or down one step; the ✖ button deletes the selected rows ("Delete the selected rows"). The buttons are greyed out without a selection.
- The context menu of a row (right-click on the number, name or value): Move Row Up, Move Row Down, Move Row to Top, Move Row to Bottom; Cut, Copy, Paste, Paste Transposed; Select All; Insert Row Above, Delete Row; Open link "…" if the value is a link; Import Text….
- Copy and paste. Copy and Cut put the selected rows (all of them, if none is selected) on the clipboard, one constant per line, name and value separated by a tab: you paste them into a spreadsheet or a text. Paste inserts, at the position of the first selected row (or at the end of the list), the constants of a clipboard text, one per line ("name<TAB>value", or "name = value"). Paste Transposed reads two lines: the names on the first, the values on the second, separated by tabs, as in a header row and a value row of a spreadsheet. If the clipboard holds no constants, the status bar answers "The clipboard holds no constants (one "name<TAB>value" per line)".
The Cut, Copy, Paste and Select All commands of the Edit menu act on the list of constants when the cursor is not in the notes, and on the notes when it is.
Notes#
Below the constants, the Notes area is a free-text editor. The toolbar above it provides the formatting; the text remains plain text accompanied by discreet tags (see below), so a note opens in any editor.
The toolbar of the Notes area contains, from left to right: Bold (Ctrl+B), Italic (Ctrl+I), Underline (Ctrl+U), Superscript (Ctrl+Shift+=), Subscript (Ctrl+=), the fixed-width font button ("Fixed-width font for the selection"), a size menu for the selected text (from 8 to 36 points), a color menu for the selected text (Black, Dark red, Red, Orange, Green, Blue, Purple, Gray), a character-insertion menu (Greek letters, math signs, European letters and symbols: Greek Letters…, Math Symbols…, Accented Letters…, Pictograms…), then the Font… and Format… buttons for the font and paragraph format of all the notes. A reminder line shows the current font, size and line spacing.
To format a passage: select it, then click the button (or the shortcut). The same gesture on a passage already in that format removes the format. The same commands are in the Format › Selected Text menu (Bold, Italic, Underline, Superscript, Subscript, Fixed-Width Font) and in the notes' context menu, with Cut, Copy, Paste, Font…, Size, Color, Text Format… and Import Text…. Format › Larger Text (Ctrl+Shift+.) and Smaller Text (Ctrl+Shift+,) change the size of all the notes by one point (from 4 to 96 points).
The formatting is saved as tags in the text:
| Tag | Effect |
|---|---|
<b>…</b> | bold |
<i>…</i> | italic |
<u>…</u> | underline |
<sup>…</sup> | superscript |
<sub>…</sub> | subscript |
<size=14>…</size> | size in points |
<color=#C00000>…</color> | color |
<mono>…</mono> | fixed-width font |
In the editor, the tags remain visible, in a muted tint; when printing, or exporting to PDF or Word, the formatted text is drawn without tags. A text that is not exactly one of these tags ("p<0.05", "a <b") is ordinary text. You can write the tags by hand.
Font and format of notes#
Two windows set the presentation of all the notes of the sheet; their settings are saved with the sheet.
Format › Text Font… (or the Font… button, or Font… in the notes' context menu) opens the Text Font window:
- Font: "Arial (proportional)" or "Courier New (fixed width)";
- Size: from 4 to 96 points (11 by default);
- Color: the text color;
- Style: the Bold and Italic boxes, which set all the notes in bold or italic.
Format › Text Format… (or the Format… button) opens the Text Format window, whose distances are in inches:
- Left: the left indent of all lines;
- Paragraph: the additional indent of the first line of each paragraph;
- Right: the right indent;
- Tab Spacing: the distance between two tab stops (0.5 by default; minimum 0.05);
- Line Spacing: the line spacing, in lines (1 = single; 1.5; 2 = double; from 0.5 to 5);
- Text Wrap: lines wrap at the right indent; unticked, a line ends only at a line break and a horizontal scroll bar appears.
Out-of-range values are brought back within the limits. OK applies; Cancel closes without changing anything.
Web links#
An address that begins with http://, https:// or www. is recognized as a link, in the notes as in the value of a constant. In the notes, it is displayed in blue: point at it to see "Ctrl+click to open …", then Ctrl+click to open it in the web browser ("Opened …" in the status bar; "Could not open …" if the system refuses). In the list of constants, a value that is entirely a link is displayed in blue, with a button on the right ("Open …") and, in the context menu, Open link "…". A www. address is opened as https://.
This is the right place to keep a link to the protocol, the reagent data sheet, the shared folder of raw images or the electronic lab notebook record.
Importing notes#
Format › Import Text… (or the Import Text… button in the sheet header, or the context menu of the constants and notes) reads a text file (txt, csv, dat, prn, tsv; or any file) and adds its constants and notes to the sheet:
- if the file contains
<Info>…</Info>and<Notes>…</Notes>sections, their content is taken over: the lines of<Info>become constants, the content of<Notes>becomes notes; - otherwise, the whole file becomes notes.
A constant line reads "name", a tab and the value, or "name = value"; a comma, a semicolon or a colon are also accepted as separators (the first found in this order: tab, =, comma, semicolon, colon; quotation marks around words are removed). Caution: a value that itself contains a comma, such as "Date: 12 March, 2025", is cut at the comma if the line has no tab and no "="; prefer the tab or "=".
The import adds without erasing anything. A constant that already exists (same name, ignoring case) takes the new value; new ones are added at the end of the list. Notes are appended after the existing notes, separated by a blank line, unless that text is already there: re-importing the same file therefore changes nothing. The status bar announces, for example, "3 constant(s) and notes imported". A file with no constant or note produces the error "the file contains neither constants nor notes".
Conversely, File › Export › This Sheet… on an Notes sheet saves a laid-out PDF, a Word document or a text file with the <Info> and <Notes> sections that Import Text… can read back (chapter "Import, export, print"). You can thus carry the constants and notes from one project to another.
When a data file is imported, the <Info> and <Notes> sections of the file go into the table's Notes sheet, not into the data (chapter "Data tables").
Using constants in graphs and layouts#
A constant is not meant to stay in the sheet: you display it on a figure without retyping it. Objects › Value from Notes or Results… (on a graph or a layout) inserts a text {info:Name} that is replaced by the current value of the constant: change the value in the Notes sheet, and all the graphs and layouts that display it are updated. The insertion window, which also offers the values of analysis results ({result:…}), is described in the "Linked constants" section of the chapter "Graphs".
The name is looked up, ignoring case, in the first Notes sheet of the project (in navigator order) that has a constant of that name, not necessarily the sheet linked to the graph's table. If two sheets have constants with the same name and different values, give them distinct names.
Linked sheets#
What are linked sheets?#
Linked sheets are the sheets tied to one another by references: a data table, the analyses that use it, the graphs of these data and of these analyses, the layouts that show these graphs, the notes attached to the table, and the analyses chained on output tables. They let you handle "a whole experiment" at once.
A layout that shows graphs from several tables is linked to each of them, but does not link those tables together (unless you ask for the linked sheets of the layout itself, which then include all the sheets of its graphs).
When other sheets are linked to the active sheet, the Linked sheets pane of the navigator lists them (chapter "The interface"). Open Linked Sheet (navigator context menu) and the linked-sheets button of the status bar lead to them. Sheet › Linked Sheets › Gallery of Linked Sheets shows one thumbnail per linked sheet.
Duplicating a sheet, linked sheets, an experiment#
Three commands copy, with different scopes.
- Duplicate Sheet (Sheet menu, navigator context menu, ribbon Duplicate menu) copies one sheet. The copy gets a unique name ("Table 2" for "Table 1"). A table is copied with its values; a copied results sheet is recomputed. The copy points at the same data as the original.
- Sheet › Linked Sheets › Duplicate Linked Sheets… copies all the linked sheets: table, analyses, graphs, layouts, attached notes. The copies are linked to one another (the copied graph reads the copied table, the copied analysis analyzes the copied table), and their names are preceded by "Copy of". The copied analyses are recomputed. The first copied sheet becomes the active sheet, and the status bar announces "Linked sheets duplicated". This is the way to start from a finished experiment to process another variant without touching the original.
- Sheet › Linked Sheets › Copy Linked Sheets with an Empty Table… (also in the navigator context menu and the ribbon Duplicate menu) copies them as well, with the prefix "New", but empties the data tables: they keep their structure (type, column titles, number of data sets) and lose their values. The analyses, graphs, layouts and notes are kept. All that remains is to type or paste the new data: the analyses compute, the graphs draw, the layout figure updates. The status bar reminds you: "Linked sheets copied with an empty table: enter new data to analyze and plot them like the original".
The copies take over the color tag, the lock state, the sticky notes and the attached files of each sheet (like Duplicate Sheet). A project contains at most 100 data tables and 100 layouts.
Sheet › Linked Sheets › Reuse the Analyses and Graphs of Another Table… (also in the navigator context menu and the ribbon Duplicate menu) starts on the contrary from a table that already holds its data: the active table, or the one the active sheet comes from. The Reuse Analyses and Graphs dialog lists, table by table, the analyses and graphs of the other tables of the project that suit its type: an analysis that accepts that type of table, a graph of a type offered for it; an analysis or a graph of the output of an analysis follows the analysis it comes from. Check those to rebuild: the dialog states how many analyses and graphs will be created ("1 analysis and 1 graph will be created"; an analysis whose output is used is added automatically). Name prefix of the new sheets: precedes the names of the new sheets. OK first creates the graphs of the table, with the type and presentation of the examples (axes, sizes, fonts, data set formats, as with Match Graphs to an Example…), then the analyses with the same settings and the same data sets (within the data sets of the table), then the graphs of their outputs; the fitted curves go on the new graphs, and the comparisons, letters and number-at-risk tables follow the new analyses. Everything is undone at once by Edit › Undo; an analysis that cannot be computed on the table is reported in the status bar.
Saving, printing, sending, deleting linked sheets#
The other commands of the Sheet › Linked Sheets submenu:
- Color Tag for All: one color tag for all the linked sheets (Yellow, Red, Blue, Green, Purple, Orange, Gray, None).
- Save as a Project…: saves the linked sheets in a new .var project (name proposed from the active sheet), with the project's equations and palettes, and the files attached to these sheets. Useful for sending a colleague an experiment without the rest of the project.
- Save as a Method…: saves them in a .vart template: the data tables are emptied and the results erased; the graphs, layouts, analyses and their settings are kept. The template is then opened from the Start window and filled with new data.
- Print: opens the Print window set to the linked sheets (chapter "Import, export, print").
- Email: prepares an e-mail message with the linked sheets as an attachment (the status bar gives the path of the file to attach).
- Delete Linked Sheets…: deletes all of them after the confirmation "Delete these N linked sheets (data, analyses, graphs, layouts)?". Ctrl+Z restores them all.
File › Export › All Graphs… and All Layouts… export, to a folder of your choice, one PDF file per graph or per layout of the linked sheets of the active sheet (of the whole project if no sheet is active). The files are named after the sheet followed by its internal number ("Layout_7.pdf", "Table 1_3.pdf"), so that two sheets with the same name do not overwrite each other. The status bar announces "N layout(s) exported to …".
Searching the project: Find#
Edit › Find… (Ctrl+F) opens the Find window, which searches for text throughout the project.
- Type the text to look for (case-insensitive).
- Click Find or press Enter. The window shows "N result(s)" and lists the places found. If nothing is found, the status bar answers ""text" was not found".
- Click a result: Variance displays the sheet. For a table cell, the cursor goes to the cell.
The window stays open: you can step through the results one by one or start another search. It searches in:
| Place | Result label |
|---|---|
| sheet names | "Name: sheet name" |
| data set titles | "Name: data set 2" |
| table cells and row labels | "Name: row 3, Control: 12.5" |
| constants (names and values) and notes of Notes sheets | "Name: info" |
| title, axis titles and texts of a graph | "Name: graph text" |
| labels and values of results tabs | "Name: results" |
The search stops at 500 results. It does not search in layouts, in the output tables of results (only in their text tabs), in sticky notes or in the names of attached files. It has no "Replace" command.
Attached files and voice memos#
A sheet can keep files: a sound recording (remarks dictated during the experiment), the photograph of a gel, a PDF protocol document, a raw instrument file. They are saved in the project and follow it when it is moved.
- Display the sheet.
- Objects › Attachments and Voice Memos…, or the same command in the sheet's context menu in the navigator, or the attachment button of the ribbon's Sheets group ("Attachments and voice memos of the sheet"), or Voice Memo… in the context menu of a graph's or layout's page. These commands open the same window.
- The Attachments and Voice Memos window lists the files attached to this sheet, with their size in kilobytes (or "No file is attached to this sheet."). For each: Open / Play opens the file with the application associated with its type (an audio player for a sound file); Remove removes it from the project.
- To record a note, click Record a voice memo: Variance records the sound of the microphone (the system's default input device) and shows "● Recording", the duration and a level meter. Stop and attach stops the recording and attaches it to the sheet as "Voice memo 1.wav" (then 2, 3…), in WAV format (mono, 16 bits, at the device's sample rate); Cancel, or closing the window, discards it. Without a microphone, a message in the status bar says so.
- To attach an existing file, click Attach a file (voice memo, document…) and choose it. The default type list is "Audio" (wav, mp3, m4a, ogg, flac); "All files" gives access to all types.
- Close closes the window.
A paperclip icon in the status bar (with the tooltip "N attached file(s) and voice memo(s)") indicates that a sheet carries attachments; a click opens the window.
What to know:
- An "voice memo" is a sound file recorded by Variance (Record a voice memo) or an existing file that you attach. To play the file, Variance copies it to a temporary folder ("Variance", in the system's temporary folder) and hands it to the default application.
- The files are included in the project file: attaching a long audio session or heavy images makes the project grow accordingly. For large files, keep them separately and paste their path or address into an Info constant or note.
- Deleting the sheet deletes its attached files; undo (Ctrl+Z) restores them.
- Attached files follow their sheet in Save Linked Sheets as a Project…, Duplicate Linked Sheets…, Copy Linked Sheets with an Empty Table… and Duplicate Sheet: each copy gets its own copy of the file.
Sticky notes#
A sticky note is a sticky note placed on a sheet, over it, that appears neither in print nor in exports. Its principle and buttons are described in the chapter "The interface" (section "Sticky notes"); in short:
- Objects › Sticky Note, then a color (Yellow, Red, Blue, Green, Purple, Orange).
- Type the text ("Type a note…"); drag the note by its "Note" header.
- The ● button changes the color (with Gray in addition), – reduces the note to its first line, ✖ deletes it.
What to add here: any sheet can carry sticky notes, including a layout, a results sheet or an Notes sheet. They are saved with the project and changes can be undone. They are displayed on the active sheet (new notes are offset by 16 points so as not to overlap) and their icon appears in the navigator. A sticky note is not searched by Find.
Uses: "redo with n = 12" on a table, "value 7 excluded: clogged pipette" on results, "figure 2 of the paper" on a layout. For information that must be printed, use an Notes sheet or a text on the layout instead.
Common mistakes#
- Illegible graphs on a layout. Each graph is reduced as a whole, text included. Fix the size of the graphs before the layout, harmonize them with Match Graphs to an Example…, then equalize them with Same Size for All Graphs.
- Adjustments lost after "Rearrange this layout". The position and size of all the graphs are replaced by those of the grid (extra graphs are no longer lost: the grid gains rows).
- A graph dropped on a layout that does not appear. Only graphs can be dropped. Check that the layout is the active sheet, and that a page is visible (zoom Ctrl+0).
- Axes that do not line up. Align the frames with Align, but the axes with Line Up X Axes / Line Up Y Axes: frames include titles and legends, whose width varies.
- A general title that cannot be found. It is entered in the Inspector (Page section, Title: field), not in a menu or by double-clicking the page.
- A P that did not change after a data change. The results are locked. Check for "· locked" under the sheet's title and unlock.
- Results that "no longer move" after a parameter change. A Parameters: window closed with Cancel changes nothing: click OK.
- Displayed digits that do not match the expected decimal place. Decimal Places… sets significant digits, not decimal places; trailing zeros are not displayed.
- An "excluded" value that is still in the analysis. Exclusion in an output table affects only the graphs and analyses of that table; to remove it from the original analysis, exclude the value in the data table.
- An {info:Name} that shows a value other than the expected one. The first Notes sheet of the project that has that constant name is the one read.
- Constants imported by halves. A value containing a comma or a colon without a tab is cut at the first separator; use a tab or "=".
- An voice memo that does not record. Check that the microphone is connected, chosen as the system's default input device and allowed for desktop applications (the system's privacy settings).
Going further#
- Chapter "Graphs": creating and formatting the graphs you place on a layout, matching graphs to an example, texts, pictures, embedded tables and linked constants.
- Chapter "Data tables": excluding values, cell colors, Point Style, Notes sheets linked to a table.
- Chapter "The interface": the navigator (Linked sheets pane, galleries, drag and drop), the Inspector, shortcuts, preferences.
- Chapter "Import, export, print": exporting and printing a layout, a results sheet or an Notes sheet; copying to Word and PowerPoint.
- Statistics tutorial: chapter "Principles of statistics" (P values, significant digits, how P is displayed in Variance), "Choosing an analysis", then the chapter of each analysis for reading the results tabs.