NeuroAnatomy Toolbox for Analysis of 3D Image Data
Overview
NeuroAnatomy Toolbox (nat) enables analysis and visualisation of 3D biological image data, especially traced neurons. Reads and writes 3D images in NRRD and 'Amira' AmiraMesh formats and reads surfaces in 'Amira' hxsurf format. Traced neurons can be imported from and written to SWC and 'Amira' LineSet and SkeletonGraph formats. These data can then be visualised in 3D via 'rgl', manipulated including applying calculated registrations, e.g. using the 'CMTK' registration suite, and analysed. There is also a simple representation for neurons that have been subjected to 3D skeletonisation but not formally traced; this allows morphological comparison between neurons including searches and clustering (via the 'nat.nblast' extension package).
- replace deprecated structure() special names (.Names/.Dim/.Dimnames) flagged by CRAN
From NEWS in the release
Install
Health
- OK13 OK2026-08-12
- NOTE11 OK, 2 NOTE2026-07-16
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-03-10
Documentation
- Help pages
- 144includes a package overview page
- Examples that run
- 67%55 run in a plain check · 5 only when donttest examples are enabled (R CMD check --as-cran) · 22 never run
- Exported functions with examples
- 50%
- Documented parameters
- 95%
- Return-value docs
- 67%
- Help pages citing references
- 6%
Downloads
Repository
- PRs merged (all time)
- 83%
- Median days to close, 50 most recently updated closed issues
- 9
- Median days to close, 50 most recently updated closed PRs
- 2
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
10 development-tooling and community-health practices detected across 7 families in the upstream repository
Checks run against github.com/natverse/nat on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Show all practicesHide 3 practices
This repository shows signs of AI coding tools.
- Claude Codefirst seen 2026-07-30Named in .Rbuildignore: .claudePull request it wrote: opened by a project memberCommits: at least 2 crediting it in the message
- Claude Opus 4.82 commits · Sep 2026
Dependencies
Installing nat adds 42 packages (26 with compiled code, 47 MB of source tarballs). Heaviest: BH 14 MB, bslib 5.6 MB, igraph 4.8 MB.
Code & Tests
Datasets
People & History
Maintainer since 1.0 (2014)
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- unarchivedReturned to CRAN2023-06-07
- archivedRemoved from CRAN2023-06-05requires archived package 'nat.utils'
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
- RR 3.2.0 released · 2015-04-16
- RR 3.1.0 released · 2014-04-10
- RR 3.0.0 released · 2013-04-03
Show 28 earlier eventsHide 28 earlier events
- 2.15.3Latest2013-02-06 · current release · diff ↗ ·
added 49 exports
xyzmatrix<-, affmat2cmtkparams, amiratype, as.cmtkreg, as.dotprops, as.neuron, as.neuronlist, as.neuronlistfh, as.ngraph, as.seglist, branchpoints, cmtk.bindir, cmtk.dof2mat, cmtk.mat2dof, cmtklandmarks, cmtkparams2affmat, cmtkreg, cmtkreglist, dotprops, endpoints, is.amiramesh, is.cmtkreg, is.dotprops, is.neuron, is.neuronlist, mirror, neuron, neuronlist, nlapply, read.amiralandmarks and 19 more - 1.8.262026-08-04 · diff ↗
- 1.8.252025-08-18 · diff ↗
- 1.8.242024-02-05 · diff ↗
- 1.8.232023-08-25 · diff ↗
- 1.8.222023-06-07 · diff ↗
- 1.8.212023-01-29 · diff ↗
- 1.8.192022-04-06 · diff ↗
- 1.8.182021-09-06 · diff ↗
- 1.8.172021-09-03 · diff ↗
- 1.8.162020-09-22 · diff ↗
- 1.8.142020-02-07 · diff ↗
- 1.8.13
- 1.8.112017-11-12 · diff ↗
- 1.8.9
- 1.8.7
- 1.8.4
- 1.8.1
- 1.7.0
- 1.6.62015-05-28 · diff ↗
- 1.6.42015-02-10 · diff ↗ ·
removed 5 exports
cmtklandmarks, read.amiralandmarks, read.cmtklandmarks, write.amiralandmarks, write.cmtklandmarksadded 15 exports
cmtk.extract_affine, find.soma, intersect, is.fijitraces, is.swc, nlscan, normalise_swc, read.landmarks, read.morphml, read.neuron.fiji, read.neuron.neuroml, setdiff, union, write.landmarks, xformimage - 1.5.122014-08-21 · diff ↗ ·
added 10 exports
as.mesh3d, cmtk.statistics, cmtk.version, is.vaa3draw, npop3d, pointsinside, potential_synapses, read.vaa3draw, resample, seglengths - 1.4.102014-04-30 · diff ↗ ·
added 9 exports
as.im3d, coord2ind, ind2coord, materials, ngraph, nmapply, prune, spine, sub2ind - 1.4.62014-03-30 · diff ↗
- 1.4.52014-03-28 · diff ↗ ·
added 39 exports
boundingbox<-, boundingbox, clampmax, cmtk.call, cmtk.reformatx, cmtk.targetvolume, fileformats, find.neuron, flip, getformatreader, getformatwriter, ijkpos, im3d, imexpand.grid, imscalebar, imslice, is.nrrd, ndigest, neuronlistfh, nopen3d, nrrd.voxdims, origin, projection, read.im3d, read.nrrd, read.nrrd.header, registerformat, remotesync, threshold, unmask and 9 more - 1.0.12014-02-07 · diff ↗
- 1.02014-02-04
- RR 2.15.0 released · 2012-03-30
Package metadata
- First published
- 2013-02-06
- Total releases
- 27 / 13 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 2.15.1
- Bundled data
- 690 KB / 3 files
- Download size
- 2.2 MB
Cite
Cite this package
Run in R for the authors' entry:
citation("nat")The package provides a citation file, so citation() returns the authors' own entry.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.