Skip to contents

Build per-producer CIs

Compute one classification image (CI) per producer from trial-level responses. Pass group_by = to also build group-averaged CIs in one call.

ci_from_responses_briefrc()
Compute individual Brief-RC CIs from trial-level responses
ci_from_responses_2ifc()
Compute individual 2IFC CIs from trial-level responses
group_ci()
Collapse a per-producer signal matrix into per-group means

Reliability and informational value

Within-condition reliability of the per-producer signal and per-producer infoVal.

infoval()
Per-producer informational value with trial-count-matched reference
rel_split_half()
Permuted split-half reliability with Spearman-Brown correction
rel_split_half_null()
Compute only the empirical-null distribution for split-half
rel_icc()
Intraclass correlation coefficients via direct mean squares
rel_loo()
Leave-one-out influence screening
rel_loo_z()
Z-scored leave-one-out influence (accessor)
run_reliability()
Run every within-condition reliability metric

Between-condition discriminability

Between-condition spatial difference: pixel-wise t, cluster-based permutation, Frobenius-distance bootstrap.

pixel_t_test()
Vectorised pixel-wise t-test (independent or paired)
rel_cluster_test()
Cluster-based permutation test with family-wise error control
rel_dissimilarity()
Between-condition dissimilarity with bootstrap confidence intervals
run_discriminability()
Run every between-condition discriminability metric
run_discriminability_pairwise()
Run all pairwise between-condition comparisons across K conditions

Cross-producer agreement

Producer-level agreement maps (descriptive and FWE-controlled).

agreement_map_test()
Per-pixel inferential agreement map with FWER control
plot_agreement_map()
Per-pixel agreement heatmap for a producer signal matrix

Compare multiple CIs

Cross-CI similarity, distance, and projection views. Accept any named collection of CIs (per-producer or group-level).

plot_ci_correlogram()
Pairwise Pearson-r correlogram across multiple group-mean CIs
plot_ci_distance_matrix()
Pairwise Euclidean distance matrix across multiple group-mean CIs
plot_ci_mds()
Multidimensional-scaling (MDS) projection of multiple CIs

Plot and export CIs

plot_ci_overlay()
Render a group CI as a translucent agreement-map overlay on a base image
plot_mask_overlay()
Sanity-check a face mask against a base image
plot_face_mask()
Plot a face mask for visual verification
plot_dissimilarity_grid()
Compare Euclidean dissimilarity intervals across multiple contrasts on a single plot
save_ci_images()
Write CIs to PNG or JPEG files

I/O and simulation

read_responses()
Read reverse-correlation response data from a CSV file
read_noise_matrix()
Read a noise matrix from any supported source, with caching
read_cis()
Read a directory of CI images into a pixels x participants matrix
read_signal_matrix()
Read a directory of CI images and extract the base-subtracted signal
extract_signal()
Subtract the base image from each column of a CI matrix
simulate_briefrc_data()
Simulate Brief-RC reverse-correlation data
simulate_2ifc_data()
Simulate 2IFC reverse-correlation data

Data-quality diagnostics

run_diagnostics()
Run the full battery of diagnostic checks
infoval_report()
Per-producer infoVal report (with calibration sanity checks)
check_duplicates()
Check for duplicate rows in response data
check_response_bias()
Check for response bias
check_response_coding()
Check that response values use the expected coding
check_response_inversion()
Detect response-code inversion
check_rt()
Response-time distributional checks
check_rt_infoval_consistency()
Cross-validate infoVal against RT quality
check_stimulus_alignment()
Check stimulus ids align with the stimulus pool
check_trial_counts()
Check trial counts per participant
check_version_compat()
Check rcicr version compatibility with a 2IFC rdata file
validate_noise_matrix()
Validate a noise matrix

Helpers

make_face_mask()
Build an oval face-region mask for a square image
read_face_mask()
Read an image-based face-region mask from a PNG or JPEG
shift_mask()
Shift a face-region mask by a number of pixels
region_bounds_from_pixels()
Convert pixel-coordinate rectangle bounds to 0-1 image fractions
is_rcisignal_diag_result()
Test whether an object is an rcisignal_diag_result
rcisignal_diag_result()
Construct an rcisignal_diag_result object
rcisignal_diag_report()
Construct an rcisignal_diag_report object