ANTs in R: Quantification Tools for Biomedical Images

ANTsR interfaces state of the art image processing with R statistical methods. The project grew out of the need, at University of Pennsylvania, to develop large-scale analytics pipelines that track provenance from scanner to scientific study. ANTsR wraps an ANTs and ITK C++ core via Rcpp to access these frameworks from within R and support reproducible analyses. Specialized functionality in ANTsR includes image segmentation and registration along imaging specific variations of principal component and canonical correlation analysis.

Author: Brian B. Avants

Maintainer: Brian B. Avants < stnava at >

Citation (from within R, entercitation("ANTsR")):

To cite package 'ANTsR' in publications use:

Brian B Avants (2018). ANTsR: ANTs in R: Quantification Tools for
Biomedical Images. R package version

A BibTeX entry for LaTeX users is

title = {ANTsR: ANTs in R: Quantification Tools for Biomedical Images},
author = {Brian B Avants},
year = {2018},
note = {R package version},


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

Package Versions


VersionUNIX CI testsOSX CI testsWindows CI testsCoverageLogs


VersionUNIX CI testsOSX CI testsWindows CI testsCoverageLogs

All Versions

Unix CI testsOSX CI testsWindows CI testsUnix CI testsOSX CI testsWindows CI tests


To install this package, start R and enter:


# From the Latest Release on NeuroC
neuro_install('ANTsR', release = "stable", release_repo = latest_neuroc_release(release = "stable"))
neuro_install('ANTsR', release = "current", release_repo = latest_neuroc_release(release = "current"))

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

More detailed installation instructions can be found here.


Initially submitted on October 5 2017 9:58AM
Last updated on October 5 2017 9:58AM
Package type standard
Source GitHub URL
Neuroconductor GitHub URL
System requirementscmake, git, clang
DependsR (2.10), methods, ANTsRCore (0.2)
Importsgraphics, grDevices, magic, magrittr, psych, rsvd, stats, utils
LinkingToRcpp, ITKR, ANTsRCore
Suggestsabind, BGLR, caret, cluster, corpcor, DMwR, dplyr, e1071, extremevalues, fastICA, fpc, ggplot2, glasso, glmnet, grid, h5, igraph, irlba, knitr, MASS, Matrix, mFilter, misc3d, moments, nabor, networkD3, pixmap, png, pracma, randomForest, RANN, Rcpp, RcppEigen, RSpectra, rflann, rgl, rmarkdown, robust, robustbase, signal, sna, testthat, tools, viridis, visreg, wmtsa, xgboost
Reverse importsextrantsr (, lungct


LinkFile nameTitle
HTMLANTsRTransformations and statistical representations for images in R
HTMLMultiChannelMultichannel image proccessing
HTMLRestingBOLDResting BOLD (basic analyses using ANTsR)
HTMLantsrTransformUsing the antsrTransform class
HTMLdeformationSimulationSimulate a deformation field with ANTsR
HTMLiMathiMath (mathematical operations inside ANTsR)
HTMLmultivarTemplateCoordinatesmultivariate template coordinates example for eigenanatomy
HTMLrfLesionSegMulti-resolution voxel-wise neighborhood random forest (MRV-NRF) lesion segmentation

Search Neuroconductor for ANTsR