FileBackedNeuroVec: Create a FileBackedNeuroVec Object

View source: R/filebacked_neurovec.R

FileBackedNeuroVecR Documentation

Create a FileBackedNeuroVec Object

Description

Constructs a FileBackedNeuroVec instance, which represents a file-backed neuroimaging vector object.

Usage

FileBackedNeuroVec(file_name)

Arguments

file_name

A character string specifying the name of the image file.

Details

This function reads the header of the specified file, creates a NeuroSpace object, and initializes a FileBackedNeuroVec with the appropriate metadata.

Value

A new instance of class FileBackedNeuroVec.

See Also

NeuroSpace, read_header

Examples

## Not run: 
fbvec <- FileBackedNeuroVec("path/to/image.nii")

## End(Not run)


bbuchsbaum/neuroim2 documentation built on Nov. 3, 2024, 9:31 a.m.