Plot the cluster-test grid for a pairwise discriminability report
Source:R/plot_methods.R
plot.rcisignal_rel_pairwise_report.RdRenders one cluster t-map (or signed TFCE map) per pair, laid out in a square-ish grid. Each panel shows the per-pixel statistic with black contours bounding FWE-significant clusters (or FWE-corrected pixels under TFCE). Colour convention matches the rest of the package: blue = first condition larger, red = second condition larger.
Usage
# S3 method for class 'rcisignal_rel_pairwise_report'
plot(x, ..., ncol = NULL, max_pairs = 12L)Arguments
- x
A
run_discriminability_pairwise()result.- ...
Reserved for future use.
- ncol
Optional integer. Columns in the panel grid. When
NULL(default),ceiling(sqrt(n_pairs))is used.- max_pairs
Integer. Above this many pairs a warning is emitted (panels become illegible). Default
12L. The grid is still drawn; passmax_pairs = Infto silence the warning.
Details
To compare overall magnitudes across pairs on a shared axis,
pass the per-pair $dissimilarity children to
plot_dissimilarity_grid() instead.
See also
plot_dissimilarity_grid() for a shared-axis comparison
of bootstrap dissimilarity distances across pairs.