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

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

Author

Karsten Tabelow karsten.tabelow@wias-berlin.de

Examples


## 4 = CT for anatomic data
convert.scene(4, "3DIM_HEAD_ANAT")
#> [1] "CT"