powered by
Determine the type of a file : NIFTI .nii format, NIFTI .hdr/.img pair format, ANALYZE format.
magicfield(file)
character, filename of an image (or header) file
A list containing the magic and dim fields.
# NOT RUN { magicfield(system.file("example-nifti.hdr", package="AnalyzeFMRI")) # }
Run the code above in your browser using DataLab