Package afnir details

Wrapper Functions for 'AFNI' (Analysis of Functional 'NeuroImages')

Wrapper functions that interface with 'AFNI' (, a powerful and commonly-used 'neuroimaging' software, using system commands. The goal is to be able to interface with 'AFNI' completely in R, where you pass R objects of class 'nifti', implemented by package 'oro.nifti', and the function executes an 'AFNI' command and returns an R object of class 'nifti' if desired.

Maintainer: John Muschelli < muschellij2 at >


From within R, enter citation('afnir')

Cox RW (1996). "AFNI: software for analysis and visualization of
functional magnetic resonance neuroimages." _Computers and Biomedical
research_, *29*(3), 162-173.

A BibTeX entry for LaTeX users is

title = {AFNI: software for analysis and visualization of functional magnetic resonance neuroimages},
author = {Robert W Cox},
journal = {Computers and Biomedical research},
volume = {29},
number = {3},
pages = {162--173},
year = {1996},
publisher = {Elsevier},


If you have any problems with this package you can open a new issue or check the already existing ones here.

To install this package, start R and enter:


# Default Install

# from GitHub
neuro_install('afnir', release = "stable", release_repo = "github")
neuro_install('afnir', release = "current", release_repo = "github")

More detailed installation instructions can be found here.


Initially submitted on October 1 2018 4:44PM
Last updated on October 1 2018 4:44PM
Package type standard
Source GitHub GitHub
Neuroconductor GitHub GitHub
System requirementsAFNI
Importsmethods, oro.nifti, neurobase (1.27.0)
Suggestscovr, kirby21.t1 (1.7.0), kirby21.fmri (1.7.0)