edickie / ciftify

The tools of the Human Connectome Project (HCP) adapted for working with non-HCP datasets
https://edickie.github.io/ciftify/
MIT License
117 stars 157 forks source link

ciftify_peaktable x,y,z coordinates missing #148

Closed mlueckel closed 3 years ago

mlueckel commented 3 years ago

Hi,

when running the ciftify_peaktable command, the x,y,z coordinates nearest to a given vertex are missing in the output table. This is the command I'm running:

singularity exec --cleanenv \ -B "$DataDir"/:/data \ /pathtosingularityimage/tigrlab_fmriprep_ciftify_latest-2019-08-16-5bd89f536284.simg \ ciftify_peaktable \ --min-threshold $(cat $DataDir/rest/"$Subject"/neg_thresh.txt) \ --max-threshold $(cat $DataDir/rest/"$Subject"/pos_thresh.txt) \ --area-threshold 2 \ --surface-distance 0 \ --volume-distance 0 \ --outputbase /data/rest/"$Subject"/ciftify_peaktable \ --left-surface /data/anat/"$Subject"_3T_Structural_preproc/"$Subject"/T1w/fsaverage_LR32k/"$Subject".L.midthickness.32k_fs_LR.surf.gii \ --right-surface /data/anat/"$Subject"_3T_Structural_preproc/"$Subject"/T1w/fsaverage_LR32k/"$Subject".R.midthickness.32k_fs_LR.surf.gii \ --debug \ /data/rest/"$Subject"/"$Subject"_mergedData_clean_smooth"$SmoothingKernel"_seedCorr_masked.dscalar.nii

Am I missing something?

Thanks, Max

edickie commented 3 years ago

Sorry - you should use ciftify_statclust_report it's a newer version with the proper flag you need.

singularity exec --cleanenv
-B "$DataDir"/:/data
/pathtosingularityimage/tigrlab_fmriprep_ciftify_latest-2019-08-16-5bd89f536284.simg
ciftify_peaktable
--min-threshold $(cat $DataDir/rest/"$Subject"/neg_thresh.txt)
--max-threshold $(cat $DataDir/rest/"$Subject"/pos_thresh.txt)
--area-threshold 2
--surface-distance 0
--volume-distance 0
--outputbase /data/rest/"$Subject"/ciftify_statclust_report
--left-surface /data/anat/"$Subject"_3T_Structural_preproc/"$Subject"/T1w/fsaverage_LR32k/"$Subject".L.midthickness.32k_fs_LR.surf.gii
--right-surface /data/anat/"$Subject"_3T_Structural_preproc/"$Subject"/T1w/fsaverage_LR32k/"$Subject".R.midthickness.32k_fs_LR.surf.gii
--output-peaks
--debug
/data/rest/"$Subject"/"$Subject"_mergedData_clean_smooth"$SmoothingKernel"_seedCorr_masked.dscalar.nii