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).
An R package for the (3D) visualisation and analysis of biological image data, especially tracings of single neurons. nat is the core package of a wider suite of neuroanatomy tools introduced at http://natverse.github.io. nat (and its ancestors) have been used in a number of papers from our group including:
For the impatient ...
# install
install.packages("nat")
# use
library(nat)
# plot some test data (?kcs20 for details)
# Drosophila Kenyon cells processed from raw data at http://flycircuit.tw
head(kcs20)
open3d()
plot3d(kcs20, col=type)
# get help
?nat
A confirmed stable version of nat can be installed from CRAN.
install.packages("nat")
However, nat remains under quite active development, so if you will be using nat extensively, we generally recommend installing the latest development version directly from github using the devtools package.
# install devtools if required
if (!requireNamespace("devtools")) install.packages("devtools")
# then install nat
devtools::install_github("natverse/nat")
To get an idea of what nat can do:
When you're ready to learn more:
?nat in R)If you want some help using nat:
If you think that you have found a bug:
Thanks for your interest in nat!