Skip to content

Instantly share code, notes, and snippets.

View ilkayisik's full-sized avatar

Ilkay Isik ilkayisik

View GitHub Profile
@ilkayisik
ilkayisik / fsleyes_visualize_map
Last active March 16, 2020 14:25
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