Hi Francesca,
>
> I ran this command line:
>
> ROI2dataset -prefix lh.V1dorsalDM.1D.dset -of 1D
> -input lh.V1dorsalDM.1D.roi
>
> As you suggested, I tried to add the -padd_to_node
> option to ROI2dataset and it worked!
Excellent, one down.
> Now, I would like to extract the time series from
> a functional run that I mapped to the surface,
> masked by these surface-based regions. Which
> function do you suggest me to use for having a
> time series associated with each vertex (and
> coordinates)?
>
3dmaskdump would do the trick, here is an example command from the demo script run_ROIdump in the bootcamp directory suma_demo/
3dmaskdump -mask lh.OccROIs.FULL.niml.dset \
-mrange 2 2 \
-index -noijk -o ALLv2b.ts.1D \
v2s.lh.TS.FULL.niml.dset
See 3dmaskdump -h_view for details. As usual, verify visually that what you get is what you were expecting, until you have a handle on how the command lines work.
cheers
z