Hi everyone
I am doing the ICA decomposition using MELODIC in a long group of subjects using the command line.
melodic -i List.txt -o /output/directory --nobet --bgthreshold=10 --tr=2.000000 -v --report -d 30 --mmthresh=0.5 --Ostats -a concat
I think that the above line is correct, but now I want to do a Single-session ICA but I am no t sure about what is the correct option or way to do it. I was using the option -a symm and -a defl instead -a concat option in the above line but I got just one melodic_ICA output, then I typed the next line:
melodic -i 001_data.nii.gz -o /output/001_output --nobet --bgthreshold=10 --tr=2.000000 -v --report -d 30 --mmthresh=0.5 --Ostats -a symm
and that ran well
1.- here the first question is, which is the correct option to run a Single-session ICA analysis (one analysis per subject), -a defl -a symm, -a concat?
Well, I tried to run a 'for' to do it iteratively, but it did not run.
for g in `$FSLDIR/bin/imglob *func_data.nii.gz*` ; do
if [ $FSLDIR/bin/melodic ] ; then
$FSLDIR/bin/melodic -i ${g} -o output/directory -nobet --bgthreshold 10 --tr 2.000000 -v --report -d 30 --mmthresh 0.5 --Ostats -a symm ;
fi
done
but the next error was shown.
-n: Couldn't set_value! valstr="--bgthreshold=10 --tr=2.000000"!
2.- here the second question is, what is wrong in the 'for' script? why do not run?
Thank you so much. Any advice will be appreciated.
Gabriel RG
|