# Arrange heatmaps

You can arrange heatmaps in two ways: with Layout Presets (below), or manually arranging headers in the matrix (Custom layout).

With Layout presets

In the Heatmap Settings pane, click the Show/Hide tab. Under Layout presets, click one of the following:

▪Adjacent. The heatmaps are arranged from left to right, and from top to bottom to fill the screen as much as possible. The following order is used: first Result container, then trial name, then subject name, then body point. With Adjacent, each heatmap represents a single track per arena. Tracks from multiple arenas are combined in the same heatmap. With this preset, the Merging method Cumulated is selected automatically.

Clicking Adjacent is the same as selecting Show/Hide > Layout > Arrange adjacently.

▪Trials. The matrix is arranged in this way:

▪On rows: Trial names.

▪On columns: Result containers, subject names and body-points (if more than one), in this order.

With Trials, each heatmap represents a single track, and the Merging method Cumulated is selected automatically.

▪Time bins. This button is available if you define time bins for at least one Result container in your Data profile. Choose this option for example to inspect behavioral changes over time. The matrix is arranged this way:

▪On rows: Result containers, trial names, subject names, and body points in this order.

▪On columns: Time bins ordered by starting time.

With Time bins, each heatmap represents a segment of a single track.

With the Time bins preset, the Merging method Cumulated is selected automatically.

▪Group Mean. Choose this option when you create two or more Result containers in your Data profile and you want to compare the corresponding heatmaps, just like you would do with Group statistics, or when you just want to inspect the behavior of a whole group of tracks.

The matrix is arranged this way:

▪On rows: No independent variable. Heatmaps are always arranged in one row.

▪On columns: Result containers, subjects and body-points in this order.

With Group mean, each heatmap always represents a group of tracks, unless a Result container only contains one track. The Merging method Mean is selected automatically.

note This button is not available in experiments defined as DanioVision experiment.

Custom layout

Besides the Layout presets, you can re-arrange the heatmaps by moving and adding/removing the matrix headers.

1.In the Heatmap Settings pane, under Presets click the Custom button, or click the Show/Hide button on the toolbar and select Layout.

2.In the Layout window, select Arrange by headers.

3.To place headers on the other side of the matrix, select the corresponding element under On Columns / On Rows and click the Place Horizontal or Place Vertical button.

To alter the sorting order, select an element and click the arrow buttons to place it in a upper/lower position.

To add a header, select the corresponding element under Available and click the arrow button next to On Columns or On Rows, depending on whether you want to place the new header.

To remove a header, select its name under On Columns, or On Rows and click the arrow button.

Notes

▪tip You can also re-arrange the heatmaps from the matrix itself.

▪Right-click a header and select Place Horizontal/Place Vertical to place the headers on the other side of the matrix; or Move Up/Move Down to modify the sorting order.

▪To add an independent variable as a new header, right-click the header row/column and select Insert, then choose the independent variable.

▪To remove an independent variable as a header, right-click it and select Delete.

▪You can only remove a header if that does not generate ambiguities in the heatmap matrix. For example, if your Data profile contains two Result containers, you cannot remove the Results header. For the same reason, you cannot delete the Body Points header because mixing body points in a heatmap does not make sense.

▪The Arrange adjacently option is equal to clicking the Adjacent button under Presets.

See also

▪Sort track plots

▪Merging method for heatmaps