Learn R Programming

tractor.base (version 3.4.5.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

634

Version

3.4.5.1

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Jon Clayden

Last Published

September 2nd, 2025

Functions in tractor.base (3.4.5.1)

identifyImageFileNames

Working with MRI images stored in various formats
locateExecutable

Find or run an external executable file
emptyMatrix

The empty matrix
mergeMriImages

Merging MriImage objects
equivalent

Test two numeric vectors for equivalence
infix

Resolve a variable to a default when NULL
printLabelledValues

Pretty print labelled information
nilObject

The nil object
createNeighbourhoodInfo

Image neighbourhoods
readDicomDirectory

Read a directory of DICOM files
pluralise

Number agreement with a vector
newSparseArrayWithData

Create a SparseArray object
resolvePath

Functions for file name and path manipulation
readDicomFile

Read a DICOM file into a DicomMetadata object
promote

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

Reference object serialisation and deserialisation
resolveVector

Miscellaneous vector functions
where

Compact conditional values
sortDicomDirectories

Sort a directory of DICOM files into series
threadSafeTempFile

Obtain thread-safe temporary file names
createSliceGraphic

Visualise MriImage objects
augmentedInfoPanel

A simple interactive viewer for MriImage objects
deduplicate

Concatenate and deduplicate vectors
embrace

Combine similar strings into one
MriImage-class

The MriImage class
DicomMetadata-class

The DicomMetadata class
getColourScale

Obtaining colour scales
asMriImage

Creating MriImage objects from data
SparseArray-class

The SparseArray class
SerialisableObject-class

The SerialisableObject class
allEqual

Test whether all elements of a vector are equal
TractorObject-class

The TractorObject class
implode

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

Extract one or more elements from a list
fx

Shorthand anonymous functions
[,SparseArray,ANY,ANY-method

Indexing methods