Learn R Programming

neuroim (version 0.0.6)

Data Structures and Handling for Neuroimaging Data

Description

A collection of data structures that represent volumetric brain imaging data. The focus is on basic data handling for 3D and 4D neuroimaging data. In addition, there are function to read and write NIFTI files and limited support for reading AFNI files.

Copy Link

Version

Install

install.packages('neuroim')

Monthly Downloads

182

Version

0.0.6

License

GPL (>= 2)

Last Published

January 7th, 2016

Functions in neuroim (0.0.6)

bounds

Generic function to extract the spatial bounds (origin + dim * spacing) of an image param x the object
NIMLSurfaceDataMetaInfo

Constructor for NIMLSurfaceDataMetaInfo class
IndexLookupVolume-class

IndexLookupVolume
BaseMetaInfo-class

BaseMetaInfo
BinaryReader

BinaryReader
AFNIFileDescriptor-class

AFNIFileDescriptor
BaseSource-class

BaseSource
NullMetaInfo-class

NullMetaInfo
AFNIMetaInfo

AFNIMetaInfo
FileMetaInfo-class

FileMetaInfo
AxisSet3D-class

AxisSet3D
AxisSet-class

Base
BinaryReader-class

BinaryReader
FreesurferSurfaceGeometryMetaInfo-class

FreeSurferSurfaceGeometryMetaInfo This class contains meta information for brain surface geometry
BrainSpace

Constructor function for BrainSpace class
Base-class

Base
ROIVolume-class

ROIVolume
AxisSet1D-class

AxisSet1D
BrainSurfaceVector-class

BrainSurfaceVector
BrainVolumeSource-class

BrainVolume BrainVolumeSource A class is used to produce a BrainVolume instance
DenseBrainVector-class

DenseBrainVector
AxisSet5D-class

AxisSet5D
FreesurferAsciiSurfaceFileDescriptor-class

FresurferAsciiSurfaceFileDescriptor
BrainSpace-class

BrainSpace
BrainVectorSource-class

BrainVectorSource
dropDim

Generic function to drop a dimension from an object
coordToIndex

Generic function to convert N-dimensional real world coordinates to 1D indices
loadVolumeList

loadVolList
BrainSlice-class

BrainSlice
show,NullMetaInfo-method

show a NullMetaInfo
origin

Generic getter to extract image origin
loadData

Generic function to load data from a data source
ColumnReader-class

ColumnReader
readAFNIHeader

readAFNIHeader
Layer-class

Layer
ClusteredBrainVolume-class

ClusteredBrainVolume
AxisSet4D-class

AxisSet4D
addDim

Generic function to add a dimension to an object
close,BinaryReader-method

close
mergePartitions

mergePartitions
BrainData-class

BrainData
RandomSearchlight

Create an Random Searchlight iterator
Kernel

Create a Kernel object
ROIVolume

Create an instance of class ROIVolume
BrainSurfaceVectorSource-class

BrainSurfaceVectorSource
BrainBucketSource-class

BrainBucketSource
loadVolume

Load an image volume from a file
[,SparseBrainVolume,missing,missing,ANY-method

extractor
BootstrapSearchlight

Create a searchlight iterator that samples regions from within a mask. Searchlight centers are sampled *without* replacement, but the same voxel can belong to multiple searchlight samples. It is in the latter sense that this is a bootstrap resampling scheme.
BrainVolume

BrainVolume
BrainBucket-class

BrainBucket
mapToColors

mapToColors
BrainVectorSource

BrainVectorSource
coordToGrid

Generic function to convert N-dimensional real world coordinates to grid coordinates
BrainVector-class

BrainVector
connComp3D

Extract connected components from a 3D mask
SurfaceDataMetaInfo

Constructor for SurfaceDataMetaInfo class
BrainFileSource-class

BrainFileSource Base class for representing a data source for images. The purpose of this class is to provide a layer in between low level IO and image loading functionality.
BrainSurfaceSource-class

BrainSurfaceSource
NIMLSurfaceFileDescriptor-class

NIMLSurfaceFileDescriptor
BrainFileDescriptor-class

BrainFileDescriptor
as.list,SparseBrainVector-method

as.list
overlay

overlay two objects
BrainSource-class

BrainSource
fill

Generic function to map values from one set to another using a user-supplied lookup table
image,BrainVolume-method

image
Layer

Layer
show,AxisSet1D-method

show an AxisSet1D
MNI_SPACE_1MM

MNI SPACE 1MM
BinaryWriter-class

BinaryWriter
Kernel-class

Kernel
BrainSlice

BrainSlice constructor
SurfaceDataMetaInfo-class

SurfaceDataMetaInfo This class contains meta information for surface-based data (the values that map to a surface geometry)
print,AxisSet3D-method

print a AxisSet3D instance
as.logical,BrainVolume-method

as.logical
headerFileMatches

Generic function to test whether a file name conforms to the given BrainFileDescriptor instance. Will test for match to header file only
AxisSet2D-class

AxisSet2D
matchAnatomy3D

given three named axes return AxisSet3D singleton
dim,FileMetaInfo-method

dim of FileMetaInfo
[[,BrainBucket,index,missing-method

extract labeled volume from BrainBucket
concat

Concatenate two objects
subVector

Generic function to extract a sub-vector from a BrainVector object.
SparseBrainVolume-class

SparseBrainVolume
NamedAxis-class

NamedAxis
[,SparseBrainVector,numeric,missing,ANY-method

extractor
coords

Extract coordinates
as.numeric,SparseBrainVolume-method

Convert SparseBrainVolume to numeric
LogicalBrainVolume-class

LogicalBrainVolume
RegionSquare

Create a square region of interest where the z-dimension is fixed at one voxel coordinate.
ndim

Generic function to extract the number of dimensions of an object
NIfTIFileDescriptor-class

NIfTIFileDescriptor
RegionCube

Create A Cuboid Region of Interest
SparseBrainVector-class

SparseBrainVector
makeVolume

makeVolume
pick

pick
[,SparseBrainVolume,numeric,missing,missing-method

extractor
dataFileMatches

Generic function to test whether a file name conforms to the given a BrainFileDescriptor instance. Will test for match to data file only
gridToCoord

Generic function to convert N-dimensional grid coordinate coordinates to real world coordinates Generic function to convert N-dimensional grid coordinates to real world coordinates
length,ROIVolume-method

Get length of BrainVector. This is the numbe rof volumes in the volume vector (e.g. the 4th image dimension)
dataFile

Generic function to get the name of the data file, given a file name and a BrainFileDescriptor instance.
NIfTIMetaInfo

Constructor for NIfTIMetaInfo class
Searchlight

Create an exhaustive searchlight iterator
clusterCenters

clusterCenters
show,AxisSet3D-method

show an AxisSet3D
DenseBrainVolume-class

DenseBrainVolume
SurfaceGeometryMetaInfo

Constructor for SurfaceGeometryMetaInfo class
show,NamedAxis-method

show an NamedAxis
imageGrid

imageGrid
[,SparseBrainVolume,matrix,missing,ANY-method

extractor
as

conversion from DenseBrainVolume to array
takeSeries

Generic function to extract a set of series from a 4D image
sliceData

sliceData
[,SparseBrainVector,missing,missing,ANY-method

extractor
show,SurfaceGeometryMetaInfo-method

show an SurfaceGeometryMetaInfo
ColumnReader

ColumnReader
as.matrix,SparseBrainVector-method

as.matrix
as.raster,Layer-method

as.raster
dim,BrainSpace-method

dim
NIMLSurfaceDataMetaInfo-class

NIMLSurfaceDataMetaInfo This class contains meta information for surface-based data for the NIML data format
BrainMetaInfo-class

BrainMetaInfo This class contains meta information from an image
headerFile

Generic function to get the name of the header file, given a file name and a BrainFileDescriptor instance.
voxels

extract voxel coordinates
gridToIndex

Generic function to convert N-dimensional grid coordinate to 1D indices
RegionSphere

Create A Spherical Region of Interest
axes

Generic getter function to extract image axes
lookup

Index Lookup operation
print,NamedAxis-method

print a NamedAxis
renderSlice

Render a slice at z coordinate
print,AxisSet2D-method

print a AxisSet2D instance
[,SparseBrainVolume,numeric,numeric,ANY-method

extractor
[,ROIVolume,numeric,missing,ANY-method

extract data from ROIVolume
map

Generic function to apply a function to an object
show,BrainVolume-method

show a BrainVolume
tesselate

tesselate
as.vector,BrainData-method

convert BrainData instance to vector
BrainVolume-class

Base class for image representing 3D volumetric data.
BrainSurface-class

BrainSurface
dataReader

Generic function to create data reader
readHeader

read header information of an image file
partition

partition
as.mask

Convert to a LogicalBrainVolume
takeVolume

Generic function to extract a one or more individual volumes from a four-dimensional image
as.sparse

Convert to from dense to sparse representation
eachSlice

Generic functions to apply a function to each (2D) slice of an image
splitScale

Generic function to center/scale row-subsets of a matrix or matrix-like object
show,AxisSet2D-method

show an AxisSet2D
neuroim

neuroim
show,SparseBrainVector-method

show a SparseBrainVector
eachSeries

Generic functions to apply a function to each series of a 4D image That is, if the 4th dimension is 'time' each series is a 1D time series.
.isExtension

.isExtension
readElements

Generic function to read a sequence of elements from an input source
fileMatches

Generic function to test whether a file name conforms to the given BrainFileDescriptor instance. Will test for match to either header file or data file
indices

Extract indices
show,BaseMetaInfo-method

show a BaseMetaInfo
matrixToVolumeList

matrixToVolumeList converts a matrix to a list of BrainVolumes with values filled at grid coordinates determined by the vox argument.
show,BrainVector-method

show a BrainVector
show,BrainVectorSource-method

show a BrainVectorSource
trans

Generic getter to extract image coordinate transformation
numClusters

numClusters
SurfaceGeometryMetaInfo-class

SurfaceGeometryMetaInfo This class contains meta information for brain surface geometry
loadSurface

load an surface from a set of files
axisToIndex

Generic function to convert 1-dimensional real axis coordinates along a single axis dimension to an 1D index along the same axis
indexToGrid

Generic function to convert 1D indices to N-dimensional grid coordinates
space

Generic function to extract geometric properties of an image.
SparseBrainVectorSource-class

SparseBrainVectorSource
series

Extract vector series from object
[,BrainBucket,index,missing,ANY-method

extract labeled volume from BrainBucket
show,SurfaceDataMetaInfo-method

show an SurfaceDataMetaInfo
loadFSSurface

load Freesurfer ascii surface
[,SparseBrainVector,missing,numeric,ANY-method

extractor
show,AxisSet4D-method

show an AxisSet4D
[,SparseBrainVector,numeric,numeric,ANY-method

extractor
writeVolume

Generic function to write a 3D image volume to disk
show,ROIVolume-method

show an ROIVolime
slice

Extract a 2D slice from an image volume
render

Render an image to create a drawable image.
connComp

Find connected components
eachVolume

Generic function to apply a function to each volume of a four-dimensional image
as.array,BrainData-method

convert BrainData instance to array
readMetaInfo

Generic function to read image meta info given a file and a BrainFileDescriptor instance.
show,BrainSpace-method

show a BrainSpace
stripExtension

Generic function to strip extension from file name, given a BrainFileDescriptor instance.
writeVector

Generic function to write a 4D image vector to disk
matchAnatomy2D

given two named axes return AxisSet2D singleton
scaleSeries

Generic functions to scale (center and/or normalize by standard deviation) each series of a 4D image That is, if the 4th dimension is 'time' each series is a 1D time series.
names,BrainBucketSource-method

names
dim,BrainData-method

dim of BrainData object
as.matrix,BrainData-method

convert BrainData instance to matrix
loadBucket

loadBucket
splitFill

Generic function to fill disjoint sets of values with the output of a function
values

Generic function to extract data values of object
writeElements

Generic function to write a sequence of elements from an input source
loadVector

loadVector
makeVector

makeVector
print

Generic function to print an object
spacing

Generic function to extract the voxel dimensions of an image
inverseTrans

Generic getter to extract inverse image coordinate transformation
permMat

Extract permutation matrix
show,FileMetaInfo-method

show a FileMetaInfo
indexToCoord

Generic function to convert 1D indices to N-dimensional real world coordinates
readColumns

Generic function to read a set of column vector from an input source (e.g. ColumnReader)
seriesIter

seriesIter
[,SparseBrainVolume,missing,numeric,ANY-method

extractor
splitReduce

Generic function to summarize subsets of an object by first splitting by row and then "reducing" by a summary function