7/2/2004 SSCC/NIMH 67
Surface ROI ˆ Volume ROI
¥ROIs files should be transformed to dataset files (Dset).
HA dataset file has an equal number of values for each node
HThe way we drew the two ROIs, certain nodes belong to more than one ROI (i.e. they have more than one value)
¥The program ROI2dataset is used to change ROIs to datasets
¥Execute: source run_ROI2dataset
HROI2dataset -prefix  OccROIs.1D.dset    \
            -of      1D                 \
            -input   OccROIs.niml.roi\
-prefix: Name of output file\
H-of : Output format\
H-input : Name of input ROI file
¥Note the warning:
íWarning SUMA_ROIv2dataset:
í 155/2536 nodes had duplicate entries.
í(ie same node part of more than 1 ROI)
íDuplicate entries were eliminated.
HAt the moment, duplicate entries are ignored, 1st come, 1st adopted. More options could be added if you find necessary.