Differences between revisions 35 and 39 (spanning 4 versions)
Revision 35 as of 2011-07-09 13:15:13
Size: 1509
Editor: 2
Comment:
Revision 39 as of 2011-07-09 14:46:20
Size: 1480
Editor: 2
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
The following scripts can be used to control asegstats2table and aparcstats2table commands in order to generate text/ascii tables of freesurfer stats data for all subjects in the directory at once. Using those scripts will simplify and automate conversion process because subjects’ IDs should be written with some options in the command line depending on freesurfer stats file. So users will not need to write any thing when they use this script instead of command line; The following scripts can be used to control asegstats2table and aparcstats2table commands in order to generate text/ascii tables of freesurfer stats data for all subjects in the directory at once. Using those scripts will simplify and automate conversion process.
Line 5: Line 5:
It works using 4 mouse clicks only!''' This script is suitable for MAC only.''' It works using 4 mouse clicks only!''' This script works on both bash and tsch shells but it is suitable for MAC only.'''
Line 20: Line 20:
  
You can use '''chmod +x''' to make it executable as following;

chmod +x stats2table_bash.command '''or''' chmod +x stats2table_bash.sh

The following scripts can be used to control asegstats2table and aparcstats2table commands in order to generate text/ascii tables of freesurfer stats data for all subjects in the directory at once. Using those scripts will simplify and automate conversion process.

1- Applescript

It works using 4 mouse clicks only! This script works on both bash and tsch shells but it is suitable for MAC only.

Please click on the link below to download script;

freesurferstats2table_applescript

The illustration video

***********************************************************************************************************

2- Bash script

This script works on both Linux and MAC. But it works on bash shell only.

User will be asked to write freesurfer directory and subjects' directory.

You can use chmod +x to make it executable as following;

chmod +x stats2table_bash.command or chmod +x stats2table_bash.sh

Please click on the link below to download script;

freesurferstats2table_bash

The illustration video

freesurferstats2table (last edited 2012-02-17 14:19:25 by 2)