oro.nifti (version 0.11.0)

convert.scene: Convert AFNI data codes

Description

Codes that appear in the AFNI header are mapped to meaningful character strings.

Usage

convert.scene(scene.data, typestring)

Arguments

scene.data

defines data type.

typestring

defines whether func or anat data.

Value

A character string.

Details

switch statements are used to map a numeric code to the appropriate string.

References

AFNI http://afni.nimh.nih.gov/pub/dist/src/README.attributes

See Also

convert.datatype.anlz, convert.orient.anlz

Examples

Run this code
# NOT RUN {
## 4 = CT for anatomic data
convert.scene(4, "3DIM_HEAD_ANAT")
# }

Run the code above in your browser using DataCamp Workspace