# Create a FileFormat object for NIfTI format
nifti_format <- new("FileFormat",
file_format = "NIfTI",
header_encoding = "raw",
header_extension = "nii",
data_encoding = "raw",
data_extension = "nii")
Run the code above in your browser using DataLab