Doug:
Thank you for your reply, it does not work, also, I think the problem is that for me after the clusterwise correction, I got no corrected cluster, I am not sure if it the problem that I set the --cache value and the --cwp value, but I changed the value, it always return me nothing!
This is the msg, it said that found 0 value :
Do you have any idea?
Best
Hao
Hello:
Freesurfers, follow the tutorial '
FsTutorial GroupAnalysis', my task is to find the thickness differences between groups(Controls(30) & AD(30)), and it works well for the first part which is to fit the linear model and get the uncorrected P_values, and I got the expected P-value map, but when I followed the clusterwise correction for multiple comparision, with this command below:
mri_glmfit-sim \--glmdir lh.gender_age.glmdir \--cache 4 neg \--cwp 0.05\--2spaces
I got two questions:1) with the flag --2spaces, i got the error that this command not found;2) also, with or without the --2spaces, after the freeview open, i got another error, which said did not find any volume geometry information in the surface, I googled, and I know Doug has answered in this post:http://www.mail-archive.com/freesurfer%40nmr.mgh.harvard.edu/msg42911.html, but I think my freesurfer is the newest version:freesurfer-5.3.0-15052013-x86_64-centos!
As below, these are my command and the output:
§§Command:export SUBJECTS_DIR=/aramis/dataARAMIS/users/junhao.wen/Back_up/Data_AD_CN/ADNI_60_AD_CN_object_recon_all_output/cd $SUBJECTS_DIR/glm/AD_CN_NO_COVARIATEmri_glmfit-sim \--glmdir lh.AD_CN_NO_COVARIATE.glmdir \--cache 1.3 neg \--cwp 0.05\--2spaces
# load the cluster annotation in freeviewfreeview -f $SUBJECTS_DIR/fsaverage/surf/lh.inflated:overlay=lh.AD_CN_NO_COVARIATE.glmdir/group.diff/cache.th13.neg.sig.cluster.mgh:overlay_threshold=2,5:annot=lh.AD_CN_NO_COVARIATE.glmdir/group.diff/cache.th13.neg.sig.ocn.annot -viewport 3d
§§Output:
cmdline mri_glmfit --y lh.AD_CN_NO_COVARIATE.thickness.15.mgh --fsgd AD_CN_NO_COVARIATE.fsgd dods --C group.diff.mtx --surf fsaverage lh --cortex --glmdir lh.AD_CN_NO_COVARIATE.glmdirSURFACE: fsaverage lhlog file is lh.AD_CN_NO_COVARIATE.glmdir/cache.mri_glmfit-sim.log
cd /aramis/dataARAMIS/users/junhao.wen/Back_up/Data_AD_CN/ADNI_60_AD_CN_object_recon_all_output/glm/AD_CN_NO_COVARIATE/aramis/dartagnan2/Software/FreeSurfer/freesurfer-5.3.0-15052013-x86_64-centos/bin/mri_glmfit-sim--glmdir lh.AD_CN_NO_COVARIATE.glmdir --cache 1.3 neg --cwp 0.05
$Id: mri_glmfit-sim,v 1.36.2.5 2012/10/01 22:31:37 greve Exp $Thu May 26 16:20:39 CEST 2016Linux HP1973 3.11.0-26-generic #45~precise1-Ubuntu SMP Tue Jul 15 04:02:35 UTC 2014 x86_64 x86_64 x86_64 GNU/Linuxwensetenv SUBJECTS_DIR /aramis/dataARAMIS/users/junhao.wen/Back_up/Data_AD_CN/ADNI_60_AD_CN_object_recon_all_output/FREESURFER_HOME /aramis/dartagnan2/Software/FreeSurfer/freesurfer-5.3.0-15052013-x86_64-centos
Original mri_glmfit command line:cmdline mri_glmfit --y lh.AD_CN_NO_COVARIATE.thickness.15.mgh --fsgd AD_CN_NO_COVARIATE.fsgd dods --C group.diff.mtx --surf fsaverage lh --cortex --glmdir lh.AD_CN_NO_COVARIATE.glmdir
DoSim = 0UseCache = 1DoPoll = 0DoPBSubmit = 0DoBackground = 0DiagCluster = 0gd2mtx = dodsfwhm = 22.776285CSD /aramis/dartagnan2/Software/FreeSurfer/freesurfer-5.3.0-15052013-x86_64-centos/average/mult-comp-cor/fsaverage/lh/cortex/fwhm23/neg/th13/mc-z.csdmri_surfcluster --in lh.AD_CN_NO_COVARIATE.glmdir/group.diff/sig.mgh --csd /aramis/dartagnan2/Software/FreeSurfer/freesurfer-5.3.0-15052013-x86_64-centos/average/mult-comp-cor/fsaverage/lh/cortex/fwhm23/neg/th13/mc-z.csd --mask lh.AD_CN_NO_COVARIATE.glmdir/mask.mgh --cwsig lh.AD_CN_NO_COVARIATE.glmdir/group.diff/cache.th13.neg.sig.cluster.mgh --vwsig lh.AD_CN_NO_COVARIATE.glmdir/group.diff/cache.th13.neg.sig.voxel.mgh --sum lh.AD_CN_NO_COVARIATE.glmdir/group.diff/cache.th13.neg.sig.cluster.summary --ocn lh.AD_CN_NO_COVARIATE.glmdir/group.diff/cache.th13.neg.sig.ocn.mgh --oannot lh.AD_CN_NO_COVARIATE.glmdir/group.diff/cache.th13.neg.sig.ocn.annot --annot aparc --csdpdf lh.AD_CN_NO_COVARIATE.glmdir/group.diff/cache.th13.neg.pdf.dat --cwpvalthresh 0.05 --o lh.AD_CN_NO_COVARIATE.glmdir/group.diff/cache.th13.neg.sig.masked.mgh --no-fixmni --surf whiteCreating CDFs from CSD filescsd->threshsign = -1thsign = neg, id = -1version $Id: mri_surfcluster.c,v 1.51.2.3 2012/05/31 22:10:05 greve Exp $hemi = lhsrcid = lh.AD_CN_NO_COVARIATE.glmdir/group.diff/sig.mghsrcsubjid = fsaveragesrcsurf = whitesrcframe = 0thsign = negthmin = 1.3thmax = -1fdr = -1minarea = 0xfmfile = talairach.xfmnth = -1outid = lh.AD_CN_NO_COVARIATE.glmdir/group.diff/cache.th13.neg.sig.masked.mgh MGHocnid = lh.AD_CN_NO_COVARIATE.glmdir/group.diff/cache.th13.neg.sig.ocn.mgh MGHsumfile = lh.AD_CN_NO_COVARIATE.glmdir/group.diff/cache.th13.neg.sig.cluster.summarysubjectsdir = /aramis/dataARAMIS/users/junhao.wen/Back_up/Data_AD_CN/ADNI_60_AD_CN_object_recon_all_output/FixMNI = 0Found 149955 vertices in maskFound 149955 vertices in maskFound 149955 points in clabel.------------- XFM matrix (RAS2RAS) ---------------/aramis/dataARAMIS/users/junhao.wen/Back_up/Data_AD_CN/ADNI_60_AD_CN_object_recon_all_output//fsaverage/mri/transforms/talairach.xfm1.000 0.000 0.000 0.000;0.000 1.000 0.000 0.000;0.000 0.000 1.000 0.000;0.000 0.000 0.000 1.000;----------------------------------------------------Reading source surface /aramis/dataARAMIS/users/junhao.wen/Back_up/Data_AD_CN/ADNI_60_AD_CN_object_recon_all_output//fsaverage/surf/lh.whiteDone reading source surfaceReading annotation /aramis/dataARAMIS/users/junhao.wen/Back_up/Data_AD_CN/ADNI_60_AD_CN_object_recon_all_output//fsaverage/label/lh.aparc.annotreading colortable from annotation file...colortable with 36 entries read (originally /autofs/space/terrier_001/users/nicks/freesurfer/average/colortable_desikan_killiany.txt)Computing metric propertiesLoading source valuesnumber of voxels in search space = 149955Done loading source values (nvtxs = 163842)overall max = 8.58718 at vertex 22205overall min = -1.57802 at vertex 24019surface nvertices 163842surface area 65417.097656surface area 65416.648438Computing voxel-wise significanceCSDpvalMaxSigMap(): found 0/163842 above 0Adjusting threshold for 1-tailed test.If the input is not a -log10(p) volume, re-run with --no-adjust.Searching for Clusters ...thmin=1.300000 (0.998970), thmax=-1.000000 (-1), thsignid=-1, minarea=0.000000Found 2 clustersMax cluster size 132.153870Pruning by CW P-Value 0.05Saving thresholded output to lh.AD_CN_NO_COVARIATE.glmdir/group.diff/cache.th13.neg.sig.masked.mghSaving cluster numbers to lh.AD_CN_NO_COVARIATE.glmdir/group.diff/cache.th13.neg.sig.ocn.mghSaving cluster pval lh.AD_CN_NO_COVARIATE.glmdir/group.diff/cache.th13.neg.sig.cluster.mghConstructing output annotationWriting annotation lh.AD_CN_NO_COVARIATE.glmdir/group.diff/cache.th13.neg.sig.ocn.annotmri_segstats --seg lh.AD_CN_NO_COVARIATE.glmdir/group.diff/cache.th13.neg.sig.ocn.mgh --exclude 0 --i /aramis/dataARAMIS/users/junhao.wen/Back_up/Data_AD_CN/ADNI_60_AD_CN_object_recon_all_output/glm/AD_CN_NO_COVARIATE/lh.AD_CN_NO_COVARIATE.thickness.15.mgh --avgwf lh.AD_CN_NO_COVARIATE.glmdir/group.diff/cache.th13.neg.y.ocn.dat --sum /tmp/mri_glmfit-sim.junk.2688
$Id: mri_segstats.c,v 1.75.2.9 2013/02/16 00:09:33 greve Exp $cwdcmdline mri_segstats --seg lh.AD_CN_NO_COVARIATE.glmdir/group.diff/cache.th13.neg.sig.ocn.mgh --exclude 0 --i /aramis/dataARAMIS/users/junhao.wen/Back_up/Data_AD_CN/ADNI_60_AD_CN_object_recon_all_output/glm/AD_CN_NO_COVARIATE/lh.AD_CN_NO_COVARIATE.thickness.15.mgh --avgwf lh.AD_CN_NO_COVARIATE.glmdir/group.diff/cache.th13.neg.y.ocn.dat --sum /tmp/mri_glmfit-sim.junk.2688sysname Linuxhostname HP1973machine x86_64user wenUseRobust 0Loading lh.AD_CN_NO_COVARIATE.glmdir/group.diff/cache.th13.neg.sig.ocn.mghLoading /aramis/dataARAMIS/users/junhao.wen/Back_up/Data_AD_CN/ADNI_60_AD_CN_object_recon_all_output/glm/AD_CN_NO_COVARIATE/lh.AD_CN_NO_COVARIATE.thickness.15.mghVoxel Volume is 1 mm^3Generating list of segmentation idsFound 1 segmentationsComputing statistics for each segmentation
Reporting on 0 segmentationsComputing spatial average of each frame
Writing to lh.AD_CN_NO_COVARIATE.glmdir/group.diff/cache.th13.neg.y.ocn.datmri_segstats donemri_convert lh.AD_CN_NO_COVARIATE.glmdir/group.diff/cache.th13.neg.sig.cluster.mgh lh.AD_CN_NO_COVARIATE.glmdir/group.diff/cache.th13.neg.sig.cluster.mgh --frame 0mri_convert lh.AD_CN_NO_COVARIATE.glmdir/group.diff/cache.th13.neg.sig.cluster.mgh lh.AD_CN_NO_COVARIATE.glmdir/group.diff/cache.th13.neg.sig.cluster.mgh --frame 0$Id: mri_convert.c,v 1.179.2.7 2012/09/05 21:55:16 mreuter Exp $reading from lh.AD_CN_NO_COVARIATE.glmdir/group.diff/cache.th13.neg.sig.cluster.mgh...TR=0.00, TE=0.00, TI=0.00, flip angle=0.00i_ras = (-1, 0, 0)j_ras = (0, 0, -1)k_ras = (0, 1, 0)keeping frame 0writing to lh.AD_CN_NO_COVARIATE.glmdir/group.diff/cache.th13.neg.sig.cluster.mgh...Thu May 26 16:20:39 CEST 2016Thu May 26 16:20:45 CEST 2016mri_glmfit-sim done./cluster_wise_correction_for_multiple_comparisons.sh: line 23: --2spaces: command not foundDid not find any volume geometry information in the surfacep?CBreading colortable from annotation file...colortable with 1 entries read (originally none)colortable with 1 entries read (originally none)CTABisEntryValid: index -1 was OOBResource temporarily unavailableResource temporarily unavailableBginally none)CTABisEntryValid: index -1 was OOBResource temporarily unavailableResource temporarily unavailableBginally none)CTABisEntryValid: index -1 was OOBResource temporarily unavailableResource temporarily unavailableBginally none)CTABisEntryValid: index -1 was OOBResource temporarily unavailableResource temporarily unavailableBginally none)
Can you give me some answer? Thank you very much!
_______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer