Skip to content

Commit

Permalink
groupstatsdiff. #NF. Added ability to run off pruning
Browse files Browse the repository at this point in the history
  • Loading branch information
Douglas Greve committed Apr 7, 2021
1 parent d52d4fe commit 21e90ef
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scripts/groupstatsdiff
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ set NoBA = 0;
set DoAparcStats = 1
set DoAsegStats = 1
set DoWMParcStats = 1
set DoPrune = 1
set fwhmlist = ()

set inputargs = ($argv);
Expand Down Expand Up @@ -183,6 +184,7 @@ if($DoMaps) then
# glm ------------------------
set glmdir = $outdir/maps/glm.$meas.$hemi.sm$fwhmstr
set cmd = (mri_glmfit --surface fsaverage $hemi --y $smdifffile --glmdir $glmdir $gcmd)
if($DoPrune == 0) set cmd = ($cmd --no-prune)
echo "#C# $cmd" | tee -a $LF
$cmd | tee -a $LF
if($status) then
Expand Down Expand Up @@ -315,6 +317,10 @@ while( $#argv != 0 )
set NoBA = 1;
breaksw

case "--no-prune":
set DoPrune = 0
breaksw

case "--lh":
set hemilist = (lh)
breaksw
Expand Down Expand Up @@ -418,6 +424,7 @@ usage_exit:
echo " --no-asegstats : do not do asegstats"
echo " --no-wparcstats : do not do wmparcstats"
echo " --no-stats : do not do any ROI stats"
echo " --no-prune : do not prune when running mri_glmfit (may be nec if g1=g2)"
echo " --fwhm fwhm <--fwhm fwhm> : override the fwhm from group ana (must be present)"
echo " "

Expand Down

0 comments on commit 21e90ef

Please sign in to comment.