|
Size: 1431
Comment:
|
Size: 1448
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 2: | Line 2: |
| Please click on the link below to download script; | |
| Line 3: | Line 4: |
| Please click on the link below to download script; | |
| Line 5: | Line 5: |
| [[http://web.me.com/jamaan/EASYNEUROIMAGING/Nuroimaging_blog/Entries/2011/3/10_freesurfer_stats2table_(asegstats2table_and_aparcstats2table)_files/freesurferstats2table.zip|freesurferstats2table]] | [[http://web.me.com/jamaan/EASYNEUROIMAGING/Nuroimaging_blog/Entries/2011/3/10_freesurfer_stats2table_(asegstats2table_and_aparcstats2table)_files/freesurferstats2table.zip|freesurferstats2table]] |
| Line 7: | Line 7: |
| The main purpose of this script is to 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; | |
| Line 9: | Line 8: |
| This script is suitable for MAC only. | [[http://youtu.be/o7uX70xstws|The illustration video]] |
| Line 11: | Line 10: |
| '''For aseg.stats and wmparc.stats''' | '''This script is suitable for MAC only.''' |
| Line 13: | Line 12: |
| asegstats2table --subjects bert ernie fred margaret --meas volume --tablefile aseg_stats.txt | The main purpose of this script is to 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; |
| Line 15: | Line 14: |
| '''For ?h.aparc.stats ''' | '''aseg.stats and wmparc.stats''' |
| Line 17: | Line 16: |
| aparcstats2table --subjects bert ernie fred margaret --hemi rh --meas thickness --tablefile aparc_stats.txt | asegstats2table --subjects bert ernie fred margaret --meas volume --tablefile aseg_stats.txt |
| Line 19: | Line 18: |
| '''For ?h.aparc.2009s.stats ''' | '''?h.aparc.stats''' |
| Line 21: | Line 20: |
| aparcstats2table --hemi lh --subjects bert ernie fred margaret -- parc aparc.a2009s --meas volume --tablefile lh.aparc.a2009s.volume.txt | aparcstats2table --subjects bert ernie fred margaret --hemi rh --meas thickness --tablefile aparc_stats.txt |
| Line 23: | Line 22: |
| '''For'''''' ''''''?h.BA.stats''' | '''?h.aparc.2009s.stats''' aparcstats2table --hemi lh --subjects bert ernie fred margaret -- parc aparc.a2009s --meas volume --tablefile lh.aparc.a2009s.volume.txt |
| Line 25: | Line 26: |
| aparcstats2table --hemi lh --subjects bert ernie fred margaret -- parc BA --meas volume --tablefile lh.BA.volume.txt | '''?h.BA.stats''' |
| Line 27: | Line 28: |
| aparcstats2table --hemi lh --subjects bert ernie fred margaret -- parc BA --meas volume --tablefile lh.BA.volume.txt |
This applescript 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 4 mouse clicks! Please click on the link below to download script;
This script is suitable for MAC only.
The main purpose of this script is to 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;
aseg.stats and wmparc.stats
asegstats2table --subjects bert ernie fred margaret --meas volume --tablefile aseg_stats.txt
?h.aparc.stats
aparcstats2table --subjects bert ernie fred margaret --hemi rh --meas thickness --tablefile aparc_stats.txt
?h.aparc.2009s.stats
aparcstats2table --hemi lh --subjects bert ernie fred margaret -- parc aparc.a2009s --meas volume --tablefile lh.aparc.a2009s.volume.txt
?h.BA.stats
aparcstats2table --hemi lh --subjects bert ernie fred margaret -- parc BA --meas volume --tablefile lh.BA.volume.txt
