Learn R Programming

tractor.base (version 3.5.2.1)

Read, Manipulate and Visualise Magnetic Resonance Images

Description

Functions for working with magnetic resonance images. Reading and writing of popular file formats (DICOM, Analyze, NIfTI-1, NIfTI-2, MGH); interactive and non-interactive visualisation; flexible image manipulation; metadata and sparse image handling.

Copy Link

Version

Install

install.packages('tractor.base')

Monthly Downloads

555

Version

3.5.2.1

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Jon Clayden

Last Published

August 21st, 2026

Functions in tractor.base (3.5.2.1)

fx

Shorthand anonymous functions
implode

Create a character string by concatenating the elements of a vector
indexList

Extract one or more elements from a list
identifyImageFileNames

Resolve image paths
createNeighbourhoodInfo

Image neighbourhoods
mergeMriImages

Merging MriImage objects
[,SparseArray,ANY,ANY-method

Indexing methods
infix

Resolve a variable to a default when NULL
loso

Lists of serialisable objects
imageFiles

Image file sets
resolvePath

Functions for file name and path manipulation
readDiffusionScheme

Read and write diffusion schemes
pluralise

Number agreement with a vector
nilObject

The nil object
newSparseArrayWithData

Create a SparseArray object
promote

Promote a vector to a single-column or single-row matrix
readDicomFile

Read a DICOM file into a DicomMetadata object
printLabelledValues

Pretty print labelled information
readDicomDirectory

Read a directory of DICOM files
readImageFile

Reading and writing image files
threadSafeTempFile

Obtain thread-safe temporary file names
resolveVector

Miscellaneous vector functions
where

Compact conditional values
augmentedInfoPanel

A simple interactive viewer for MriImage objects
sortDicomDirectories

Sort a directory of DICOM files into series
isDeserialisable

Reference object serialisation and deserialisation
createSliceGraphic

Visualise MriImage objects
ImageFileSet-class

The ImageFileSet class
TractorObject-class

The TractorObject class
SparseArray-class

The SparseArray class
DiffusionScheme-class

The DiffusionScheme class
Optional

Optional types
FileSet-class

The FileSet class
DicomMetadata-class

The DicomMetadata class
SerialisableObject-class

The SerialisableObject class
FileMap-class

The FileMap class
MriImage-class

The MriImage class
asMriImage

Creating MriImage objects from data
locateExecutable

Find or run an external executable file
equivalent

Test two numeric vectors for equivalence
getColourScale

Obtaining colour scales
fillShells

Assign image volumes to shells
emptyMatrix

The empty matrix
allEqual

Test whether all elements of a vector are equal
embrace

Combine similar strings into one
asDiffusionScheme

Create a DiffusionScheme object from data
deduplicate

Concatenate and deduplicate vectors