Generic function to read image meta info given a file
Source:R/all_generic.R
, R/file_format.R
read_meta_info-methods.Rd
Reads meta information from image files based on their format (NIFTI or AFNI).
Usage
read_meta_info(x, file_name)
# S4 method for class 'NIFTIFormat'
read_meta_info(x, file_name)
# S4 method for class 'AFNIFormat'
read_meta_info(x, file_name)
Arguments
- x
A FileFormat object (either NIFTIFormat or AFNIFormat)
- file_name
A character string specifying the file name to read meta information from
Value
An object of class NIFTIMetaInfo or AFNIMetaInfo, depending on the input format