# nat.utils

An R package containing utility functions to support the NeuroAnatomy Toolbox (nat)

## Background

This package is part of a primarily R based toolbox for neuroanatomy that has been in continuous development since 2002. Originally a loosely organised collection of R functions and scripts, I am now transitioning some of the code that may be of more general use to formal R packages. As one of the smaller sets of code with minimal dependencies, these utility functions are the first group of functions to be converted.

The main original code base is at https://github.com/jefferis/AnalysisSuite. The recommended way to access this code is through a wrapper R package nat.as available on github. There is now also a formal nat R package undergoing rapid development on github (the recommended installation source). A stable release is also available on CRAN. In the fullness of time I expect that this `nat`

package will collect together a number of sub-packages or extension packages called `nat.*`

.

## Installation

### Released versions

From CRAN - the recommended option for simplicity and since this package is not under heavy development:

`install.packages("nat.utils")`

From our lab repository:

`install.packages("nat.utils",repos='http://jefferislab.org/R',type='source')`

### Bleeding Edge

Straight from github with Hadley Wickham's devtools package:

```
install.packages("devtools")
library(devtools)
install_github('nat.utils','jefferis')
```