Software

neuroim2

CRAN

Core neuroimaging data structures for fMRI analysis in R

Installinstall.packages('neuroim2')

Sagittal, coronal and axial views of the MNI152 template with a thresholded simulated statistic map: positive values in red-yellow, negative in blue

A simulated statistic map on the package’s MNI152 template, drawn with plot_ortho(style = "dark") in make-figures.R.

Classes NeuroVol · NeuroVec · NeuroSpace · ROI

Input / output NIfTI read and write, memory-mapped 4D data

Spatial operations Smoothing, resampling, connected components

Analysis building blocks Spherical ROIs, searchlight iterators, ROI time series

Built on neuroim2

Development version

The install command above gives the CRAN release. To install the development version from GitHub:

pak::pak("bbuchsbaum/neuroim2")

Every figure on this page is drawn by software/showcase/neuroim2/make-figures.R in the site’s source, and the code shown with each figure is the code that drew it.