Description Usage Arguments Value See Also Examples
Reads the NIFTI image file into an array.
1 |
file |
The location of the image file to be read |
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).
f.read.nifti.slice
,
f.read.nifti.slice.at.all.timepoints
,
f.read.nifti.ts
1 2 | a<-f.read.nifti.volume(system.file("example-nifti.img", package="AnalyzeFMRI"))
dim(a)
|
Loading required package: R.matlab
R.matlab v3.6.2 (2018-09-26) successfully loaded. See ?R.matlab for help.
Attaching package: 'R.matlab'
The following objects are masked from 'package:base':
getOption, isOpen
Loading required package: fastICA
Loading required package: tcltk
Loading required package: tkrplot
Warning messages:
1: no DISPLAY variable so Tk is not available
2: loading Rplot failed
[1] 53 63 46 1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.