Skip to content

Instantly share code, notes, and snippets.

@ilkayisik
Last active March 16, 2020 14:25
Show Gist options
  • Save ilkayisik/dff104940eb95598e50ef10bb970d938 to your computer and use it in GitHub Desktop.
Save ilkayisik/dff104940eb95598e50ef10bb970d938 to your computer and use it in GitHub Desktop.
fsleyes command to overlay statistical maps and anatomical with defined threshold and colormap
root=xxx
subj=01
path_to_anatomical=${root}/fmriprep/sub-${subj}/anat/sub-${subj}_T1w_preproc.nii.gz
path_to_1stmap=${root}/analysis/sub-${subj}/video/betaseries/inT1/level_2.gfeat_old/cope1.feat/stats/zstat2.nii.gz
path_to_2nd_map=${root}/analysis/sub-${subj}/video/betaseries/inT1/level_2.gfeat/cope1.feat/stats/zstat2.nii.gz
fsleyes ${path_to_anatomical} \
${path_to_1stmap} -dr 3 8 -cm blue \
${path_to_2nd_map} -dr 3 8 -cm red
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment