Software

fmrireg

GitHub

Flexible regression-based fMRI analysis

Installpak::pak('bbuchsbaum/fmrireg')

Sagittal, coronal and axial views of the MNI152 template with a face-versus-scene z map thresholded at |z| > 3: simulated bilateral face-region clusters near the fusiform gyrus in red-yellow, parts of the scene-region clusters in blue, and a few isolated false-positive voxels

The face-minus-scene z map from feature 03 below, drawn on neuroim2’s MNI152 template with plot_ortho(style = "dark") in make-figures.R.

Model specification onset ~ hrf(condition) with run blocks and a drift model

Estimation fmri_lm(): OLS, AR prewhitening, robust weighting

Inference Contrasts, t, z and F statistics, maps as NeuroVol

Beyond the canonical GLM HRF estimation, single-trial betas, group meta-analysis

Built on

Every figure on this page, including the hero, is drawn by software/showcase/fmrireg/make-figures.R in the site’s source, and the code shown with each figure is the code that drew it. Colours, theme and the single-voxel plot in feature 02 come from styling helpers in software/showcase/fmrireg/helpers.R.