Chirag, another clarification:
the IC volume from melodic should be binarized before it is used as a mask in randomise.
ex:
fslmaths ${melodic_dir}/vol000${component} -bin ${melodic_dir}/vol000${component}${extension}
Best,
Dina
Doctoral Candidate
Brain Connectivity and Cognition Laboratory
Cognitive Neuroscience
Department of Psychology
University of Miami
There was a hidden step I forgot to include... see below (fslsplit). The mask used in randomise is the IC of interest (created during the group ICA).
Also I like to output many different options for randomise (the -x and -uncorrp flags) just in case later I choose to look at them. If you don't output them now, and later you decide you want these files, you will have to redo randomise all over again. The default num of permutations for randomise is 5000, so the -n 5000 flag is unnecessary.
##melodic group ICA
Doctoral Candidate
Brain Connectivity and Cognition Laboratory
Cognitive Neuroscience
Department of Psychology
University of Miami
Here is some sample code:
##melodic group ICA
melodic -i ICAinput.txt -o ICAresults_15 -a concat -d 15 --report --tr=2.5 -v
#dual regression runs on all ICsdual_regression ${melodic_dir}/melodic_IC.nii 1 ${new_dir}/${analysis}.mat ${new_dir}/${analysis}.con 0 ${new_dir}/dual_regression `cat ${new_dir}/ICAinput.txt`
#run randomise ONLY on the ICs of interest (loop through the components)for component in 2 3 5 7 8dorandomise -i dual_regression/dr_stage2_ic000${component}.nii.gz -o randomise/comp$component -d file.mat -t file.con -f file.fts -m ${melodic_dir}/vol000${ component} -x -T --uncorrp done
--
Doctoral Candidate
Brain Connectivity and Cognition Laboratory
Cognitive Neuroscience
Department of Psychology
University of Miami
From: FSL - FMRIB's Software Library <[log in to unmask]> on behalf of Chirag Limbachia <[log in to unmask]>
Sent: Thursday, October 12, 2017 5:28:43 AM
To: [log in to unmask]
Subject: [FSL] Nuisance removal post group ICAFSL Experts,
I ran a group ICA with free estimation and got 78 ics. Of which, only 29 look like plausible RSNs. I am told that I should run stage 1 and 2 of dual regression and then only use the 29 ics for group comparison in the third stage using randomise or PALM.
My questions is,
How do I select only the 29 out of 78 ics as input maps for randomise/PALM?
Thank you,
Chirag
Sent from my iPhone