AFNIMetaInfo | R Documentation |
Creates an AFNIMetaInfo object containing format-specific metadata for AFNI format neuroimaging files.
AFNIMetaInfo(descriptor, afni_header)
descriptor |
AFNIFormat object specifying file format details |
afni_header |
List containing AFNI header information |
Create AFNIMetaInfo Object
The AFNIMetaInfo object extends MetaInfo with AFNI-specific features:
AFNI brick structure
Sub-brick labels and scaling
Space transformation
Statistical parameters
The function handles:
Dimension extraction and validation
Label generation for sub-bricks
Transformation from AFNI to NIFTI space
Data type and scaling setup
An AFNIMetaInfo object
MetaInfo
, read_afni_header
## Not run:
# Read AFNI header
header <- read_afni_header("brain+orig.HEAD")
# Create format descriptor
fmt <- AFNIFormat()
# Create metadata
meta <- AFNIMetaInfo(fmt, header)
# Check dimensions
dim(meta)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.