f.read.nifti.volume: read whole image file

Description Usage Arguments Value See Also Examples

View source: R/niftiFMRI.R

Description

Reads the NIFTI image file into an array.

Usage

1

Arguments

file

The location of the image file to be read

Value

An array with the appropriate dimensions containing the image volume. A print out of the file information is also given. The function assumes that the corresponding .hdr file is in the same directory as the .img file (but if a .nii file is provided).

See Also

f.read.nifti.slice, f.read.nifti.slice.at.all.timepoints, f.read.nifti.ts

Examples

1
2
a<-f.read.nifti.volume(system.file("example-nifti.img", package="AnalyzeFMRI"))
dim(a)

AnalyzeFMRI documentation built on May 19, 2017, 6:14 p.m.

Search within the AnalyzeFMRI package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.