readNifti {RNiftyReg} | R Documentation |
Read a NIfTI format file
Description
This function reads files in NIfTI-1 or NIfTI-2 format into R, using the
standard NIfTI C library. It extends the equivalent function from the
RNifti
package with source and target image parameters.
Usage
readNifti(file, source = NULL, target = NULL, internal = FALSE)
Arguments
file |
A character vector of file names. |
source , target |
If the specified |
internal |
Logical value. If |
Value
An array or internal image, with class "niftiImage"
, and
possibly also "internalImage"
.
Author(s)
Jon Clayden <code@clayden.org>