Learn R Programming

oro.nifti (version 0.11.4)

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)

Value

A character string.

Arguments

scene.data

defines data type.

typestring

defines whether func or anat data.

Author

Karsten Tabelow karsten.tabelow@wias-berlin.de

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

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

Run the code above in your browser using DataLab