Build Status

Quick Start

For the impatient ...

# install

# use

# basic examples for templatebrain class

# run examples for mirroring
# ... and bridging
# NB you need to install nat.flybrains package to run some examples which are
# not run by default

# get overview help for package
# help for main functions
# if you want to construct your own templatebrains

# run tests

nat.templatebrains provides additional functions for use with the NeuroAnatomy Toolbox (nat). In particular, it defines the notion of a template brain, as used in image registration of 3D data, along with bridging registrations between template brains (see and mirroring registrations from one brain hemisphere to the other.

This is a generic package, usable with data from any species. For Drosophila specific functions and data, see our nat.flybrains package. Installing/loading nat.flybrains will automatically install/load nat.templatebrains.


This package has now been released to CRAN, but since this is the first official release you may wish to install the development version from github.

Bleeding Edge

You can install the development version by downloading the tar ball, and running R CMD INSTALL on it, or (recommended) using the devtools package:

r if (!require("devtools")) install.packages("devtools") devtools::install_github("nat.templatebrains", "jefferislab")

Note: Windows users need Rtools and devtools to install this way.