read_vec | R Documentation |
This function loads an image volume from a file.
read_vec(
file_name,
indices = NULL,
mask = NULL,
mode = c("normal", "mmap", "bigvec", "filebacked")
)
file_name |
The name(s) of the file(s) to load. If more than one file_name is specified, the files are loaded and concatenated. |
indices |
The indices of the sub-volumes to load (e.g. if the file is 4-dimensional). |
mask |
A mask defining the spatial elements to load. |
mode |
The IO mode which is one of "normal", "mmap", "bigvec", or "filebacked". |
An NeuroVec
object.
Memory-mapping a gzipped file is not currently allowed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.