Deletions are marked like this. | Additions are marked like this. |
Line 3: | Line 3: |
This script will generate text/ascii tables of freesurfer aseg stats data, aseg.stats. This can then be easily imported into a stats program. | This script will generate text/ascii tables of freesurfer aseg stats data, aseg.stats. This can then be easily imported into a spreadsheet and/or stats program. |
asegstats2table
This script will generate text/ascii tables of freesurfer aseg stats data, aseg.stats. This can then be easily imported into a spreadsheet and/or stats program.
Usage
command line options are:
--subjects subject1 <subject2 ...> --s subject1 <--s subject2 ...> --meas measure : default is vol (alt: mean) --maxsegno maxno : maximum segmentation no to report --t tablefile --help : help --debug
Sample Command line
asegstats2table --subjects bert ernie fred margaret --meas vol --t aseg_stats.txt
This will combine the aseg.stats file for the subjects bert, ernie, fred, and margaret to generate one table, aseg_stats.txt, that will report the volumes of all the structures labeled in aseg.mgz. The resulting file can be imported into any spreadsheet program.