Man pages for neuroim2
Data Structures for Brain Imaging Data

AbstractSparseNeuroVec-classAbstractSparseNeuroVec Class
add_dim-methodsAdd a Dimension to an Object
affine_utilsAffine utility functions
AFNIMetaInfoCreate AFNI Format Metadata Object
anatomical_axesPre-defined anatomical axes
annotate_orientationAdd L/R and A/P/S/I annotations (optional)
Arith-methodsArithmetic Operations
ArrayLike3D-classArrayLike3D Class
ArrayLike4D-classArrayLike4D Class
ArrayLike5D-classArrayLike5D Class
as.arrayGeneric as.array Method
as.array-methodsConvert ClusteredNeuroVol to a base array
as_canonicalReorient Image to Canonical (RAS+) Orientation
as-ClusteredNeuroVol-DenseNeuroVolConvert ClusteredNeuroVol to DenseNeuroVol
as.denseConvert to dense representation
as.dense-methodsConvert a NeuroVecSeq to a DenseNeuroVec
as-DenseNeuroVol-arrayConvert DenseNeuroVol to array
as.list-methodsConvert FileBackedNeuroVec to List
as.logical-methodsas.logical
as.maskConvert to a LogicalNeuroVol
as.mask-methodsConvert NeuroVol to a mask
as.matrixGeneric as.matrix Method
as.matrix-methodsconvert a 'NeuroVec' to a matrix
as_mmapConvert a NeuroVec to a memory-mapped representation
as_nifti_headerConstruct a Minimal NIfTI-1 Header from a NeuroVol
as.numeric-methodsConvert SparseNeuroVol to numeric
as.rasterGeneric Method for Converting Objects to Raster Format
as.sparseConvert to from dense to sparse representation
as.sparse-methodsConvert DenseNeuroVec to sparse representation using mask
as.vector-methodsConvert SparseNeuroVol to a base vector
axcodes-methodsGet Orientation Axis Codes
axes-methodsExtract Image Axes
AxisSet1D-classAxisSet1D
AxisSet2D-classAxisSet2D
AxisSet3D-classAxisSet3D Class
AxisSet4D-classAxisSet4D Class
AxisSet5D-classAxisSet5D Class
AxisSet-classAxisSet
BigNeuroVec-classBigNeuroVec Class
BigNeuroVec-methodsCreate a Memory-Mapped Neuroimaging Vector
bilateral_filterApply a bilateral filter to a volumetric image
bilateral_filter_4dApply a 4D bilateral filter to a NeuroVec
BinaryReaderCreate Binary Reader Object
BinaryReader-classBinaryReader Class
BinaryWriterCreate Binary Writer Object
BinaryWriter-classBinaryWriter Class
bounds-methodsExtract Spatial Bounds of an Image
centroid-methodsreturn the centroid of an object
centroids-methodsReturn a matrix of centroids of an object
cgb_filterCorrelation-guided bilateral filtering (convenience wrapper)
cgb_make_graphBuild a correlation-guided bilateral (CGB) graph
cgb_smoothApply a precomputed CGB graph to volumetric data
cgb_smooth_loroLeave-one-run-out smoothing helper
close-methodsClose a BinaryReader or BinaryWriter
ClusteredNeuroVecClusteredNeuroVec: Cluster-aware 4D neuroimaging data
ClusteredNeuroVec-classClusteredNeuroVec Class
ClusteredNeuroVol-classClusteredNeuroVol Class
clustered_searchlightCreate a clustered searchlight iterator
cluster_searchlight_seriesCluster-centroid searchlight over cluster time-series
ColumnReaderCreate Column Reader Object
ColumnReader-classColumnReader
Compare-methodsComparison Operations
concat-methodsConcatenate two objects in the time dimension
conn_comp_3DExtract Connected Components from a 3D Binary Mask
conn_comp-methodsConnected components
coordsExtract coordinates from an object
coords-methodsExtract Coordinates from an IndexLookupVol Object
coord_to_grid-methodsconvert n-dimensional real world coordinates to grid...
coord_to_index-methodsconvert n-dimensional real world coordinates to 1D indices
createNIfTIHeaderCreate an Empty NIfTI-1 Header List
cuboid_roiCreate A Cuboid Region of Interest
data_file_matches-methodsGeneric function to test whether a file name conforms to the...
data_file-methodsGeneric function to get the name of the data file, given a...
data_readerCreate a Data Reader
data_reader-methodsCreate Data Reader for AFNI Format
DenseNeuroVec-classDenseNeuroVec Class
DenseNeuroVol-classDenseNeuroVol Class
deobliqueDeoblique a Neuroimaging Space or Volume
dim-methodsGet Dimensions of FileMetaInfo Object
dim_of-methodsGet the length of a given dimension of an object
downsample-methodsDownsample an Image
dropGeneric Drop Method
drop_dim-methodsDrop a Dimension from an Object
drop-methodsDrop a dimension
ecode_nameGet Extension Code Name
embed_kernel-methodsGeneric function to position kernel in a position in image...
extensionGet Extension by Code
extensionsGet Extensions from an Object
extract-methods[[
extractor3dArray-like access for 3-dimensional data structures
extractor4dArray-like access for 4-dimensional data structures
FileBackedNeuroVecCreate a File-Backed Neuroimaging Vector
FileBackedNeuroVec-classFileBackedNeuroVec Class
FileFormat-classFileFormat Class
FileFormat-operationsFile Format Operations for Neuroimaging Data
file_matches-methodsGeneric function to test whether a file name conforms to the...
FileMetaInfo-classFileMetaInfo Class
FileSource-classFileSource Class
findAnatomy3DFind 3D anatomical orientation from axis abbreviations
gaussian_blurGaussian Blur for Volumetric Images
get_afni_attributeGet AFNI Attribute from Extension
grid_to_coord-methodsGeneric function to convert N-dimensional grid coordinates to...
grid_to_grid-methodsGeneric function to convert voxel coordinates in the...
grid_to_index-methodsGeneric function to convert N-dimensional grid coordinates to...
guided_filterEdge-Preserving Guided Filter for Volumetric Images
has_extensionsCheck if Extensions are Present
header_file_matches-methodsGeneric function to test whether a file name conforms to the...
header_file-methodsGeneric function to get the name of the header file, given a...
header-methodsAccess NIfTI Header Information
imageGeneric Image Method for Creating Visual Representations
IndexLookupVol-classIndexLookupVol Class
index_to_coord-methodsconvert 1d indices to n-dimensional real world coordinates
index_to_grid-methodsConvert 1d indices to n-dimensional grid coordinates
indicesExtract indices
indices-methodsGet Indices from an IndexLookupVol Object
inverse_trans-methodsExtract inverse image coordinate transformation
KernelCreate a Kernel object from a function of distance from...
Kernel-classKernel
labels-methodsGet Labels from ClusteredNeuroVec
laplace_enhanceLaplacian Enhancement Filter for Volumetric Images
length-methodsGet length of NeuroVec object
linear_accessExtract values from an array-like object using linear...
linear_access-methodsLinear Access Method for FileBackedNeuroVec
list_afni_attributesList AFNI Attributes in Extension
load_dataRead data from a data source.
load_data-methodsLoad image data from a NeuroVecSource object
LogicalNeuroVol-classLogicalNeuroVol Class
Logic-methodsLogic Operations for Neuroimaging Volumes
lookupIndex Lookup operation
lookup-methodsLookup Values in an IndexLookupVol Object
make_time_weightsBuild smooth time weights from motion/outlier metrics
map-methodsApply a function to an object.
MappedNeuroVec-classMappedNeuroVec Class
MappedNeuroVecSource-classMappedNeuroVecSource Class
mapToColorsMap intensity values to colors
map_values-methodsMap Values from One Set to Another Using a User-supplied...
mask-methodsExtract Mask from Neuroimaging Object
matricized_access-methodsExtract values from a 4D tensor using a matrix of time-space...
matrixToQuaternConvert a Transformation Matrix to a Quaternion...
mean-methodsTemporal Mean of a NeuroVec
meta_infoLightweight metadata for neuroimaging files
MetaInfoCreate Neuroimaging Metadata Object
MetaInfo-classMetaInfo Class
NamedAxis-classNamedAxis
ndim-methodsExtract the number of dimensions of an object
NeuroBucket-classNeuroBucket
neuro-downsampleDownsampling Methods for Neuroimaging Objects
NeuroHyperVecConstructor for NeuroHyperVec class
NeuroHyperVec-classNeuroHyperVec Class
neuroim2-packageneuroim2: neuroimaging data structures for analysis
NeuroObj-classNeuroObj Class
neuro-opsArithmetic and Comparison Operations for Neuroimaging Objects
neuro-resampleResampling Methods for Neuroimaging Objects
NeuroSliceNeuroSlice: 2D Neuroimaging Data Container
NeuroSlice-classNeuroSlice Class
NeuroSpaceNeuroSpace: Spatial Reference System for Neuroimaging Data
NeuroSpace-classNeuroSpace Class
NeuroVec-classNeuroVec Class
NeuroVecSeqNeuroVecSeq: A Container for Sequential NeuroVec Objects
NeuroVecSeq-classNeuroVecSeq Class
NeuroVecSeq-methodsExtract Element from NeuroVecSeq
NeuroVecSourceNeuroVecSource
NeuroVecSource-classNeuroVecSource Class
NeuroVolNeuroVol: 3D Neuroimaging Volume Class
NeuroVol-classNeuroVol Class
NeuroVolSource-classConstructor for NeuroVolSource
NiftiExtensionCreate a NIfTI Extension
NiftiExtension-classNiftiExtension Class
NiftiExtensionCodesKnown NIfTI Extension Codes
NiftiExtensionList-classNiftiExtensionList Class
NIFTIMetaInfoCreate NIFTI Format Metadata Object
NonePre-defined null axis
normalize_maskNormalize a mask to a logical array
not-methodsLogical Negation for Neuroimaging Volumes
NullAxisPre-defined null axis set
num_clusters-methodsNumber of Clusters
numericOrMatrix-classnumericOrMatrix Union
OrientationList2DPre-defined 2D orientation configurations
OrientationList3DPre-defined 3D orientation configurations
orientation_utilsOrientation utility functions
origin-methodsExtract Image Origin
parse_afni_extensionParse AFNI Extension
parse_extensionParse NIfTI Extension Data
partition-methodsPartition an image into a set of disjoint clusters
patch_setGenerate a set of coordinate "patches" of fixed size from an...
patch_set-methodsCreate a patch set from a NeuroVol object
perm_mat-methodsExtract permutation matrix associated with an image
plot-methodsPlot a NeuroSlice
plot_montagePlot a montage of axial (or any-plane) slices using facetting
plot_orthoOrthogonal three-plane view with optional crosshairs
plot_overlayComposite an overlay map on a structural background
prepare_confoundsPrepare weighted nuisance projectors for each run
quaternToMatrixConvert Quaternion Parameters to a Transformation Matrix
random_searchlightCreate a spherical random searchlight iterator
read_columns-methodsRead a set of column vector from an input source (e.g....
read_elements-methodsRead a sequence of elements from an input source
read_headerread header information of an image file
read_hyper_vecRead a 5D image as a NeuroHyperVec
read_imageread_image
read_meta_info-methodsGeneric function to read image meta info given a file
read_vecread_vec
read_volLoad a single 3D image volume from a file
read_vol_listread_vol_list
reorient-methodsRemap the grid-to-world coordinates mapping of an image.
resampled_searchlightCreate a resampled searchlight iterator
resample-methodsResample an Image to Match the Space of Another Image
resample_toResample an image with readable method names
resolve_cmapNeuroimaging color palettes and helpers
ROI-classROI
ROICoordsCreate ROI Coordinates Object
ROICoords-classROICoords
ROIVecCreate an instance of class 'ROIVec'
ROIVec-classROIVec
ROIVecWindow-classROIVecWindow
ROIVolCreate ROI Volume Object
ROIVol-classROIVol
ROIVolWindow-classROIVolWindow
scaleGeneric Scale Method
scale_fill_neuroA ggplot2 fill scale with neuroimaging-friendly defaults
scale_series-methodsGeneric functions to scale (center and/or normalize by...
searchlightCreate an exhaustive searchlight iterator
searchlight_coordsCreate an exhaustive searchlight iterator for voxel...
searchlight-methodsSearchlight Analysis Methods
searchlight_shape_functionsConvenience shape generators for 'resampled_searchlight()'
series-methodsExtract one or more series from object
series_roiExtract time series from specific voxel coordinates and...
show-helpersInternal helpers for consistent show() formatting
show-methodsShow method for NamedAxis objects
simulate_fmriSimulate fMRI Data
slice-methodsExtract image slice
slices-methodsExtract an ordered series of 2D slices from a 3D or 4D object
space-methodsExtract Geometric Properties of an Image
space_utilsSpace utility functions
spacing-methodsExtract Voxel Dimensions of an Image
SparseNeuroVec-classSparseNeuroVec Class
SparseNeuroVec-methods[[
SparseNeuroVecSource-classSparseNeuroVecSource Class
SparseNeuroVol-arrayConvert SparseNeuroVol to array
SparseNeuroVol-classSparseNeuroVol Class
SparseNeuroVol-numericConvert SparseNeuroVol to numeric
spatial-filterSpatial Filtering Methods for Neuroimaging Data
spherical_roiCreate a Spherical Region of Interest
spherical_roi_setCreate Multiple Spherical Regions of Interest
split_blocks-methodsCut a vector-valued object into a list of sub-blocks
split_clusters-methodsCut an object into a list of spatial or spatiotemporal...
split_fill-methodsFill Disjoint Sets of Values with the Output of a Function
split_reduce-methodsSummarize Subsets of an Object by Splitting by Row and...
split_scale-methodsCenter and/or Scale Row-subsets of a Matrix or Matrix-like...
square_roiCreate a square region of interest
strip_extension-methodsGeneric function to strip extension from file name, given a...
sub_clustersSelect a Subset of Clusters
sub_vector-methodsGeneric function to extract a sub-vector from a 'NeuroVec'...
Summary-methodsSummary Methods for Neuroimaging Objects
summary-neuro-methodsSummary of Neuroimaging Objects
temporal_access-methodsExtract full sparse rows across time.
theme_neuroA minimal, publication-friendly theme for image slices
TIMETime axis
TimeAxisTime axis set
trans-methodsExtract image coordinate transformation
values-methodsExtract Data Values of an Object
vec_from_volsCreate NeuroVec from list of NeuroVol objects
vectors-methodsExtract an ordered list of 1D vectors.
vols-methodsExtract an ordered series of 3D volumes.
volume_labels-methodsGet per-volume labels for a 'NeuroVec'.
voxels-methodsextract voxel coordinates
which_dim-methodsFind Dimensions of a Given Axis
write_elements-methodsWrite a sequence of elements from an input source
write_vec-methodsWrite a 4d image vector to disk
write_vol-methodsWrite a 3d image volume to disk
neuroim2 documentation built on April 16, 2026, 5:07 p.m.