region_data_from_segstat_tables: Retrieve region-based morphometry data from a parcellation...

View source: R/load_data.R

region_data_from_segstat_tablesR Documentation

Retrieve region-based morphometry data from a parcellation stats files created by 'aparcstats2table'.

Description

Retrieve region-based morphometry data from a parcellation stats files created by 'aparcstats2table'.

Usage

region_data_from_segstat_tables(lh_segstatsfile, rh_segstatsfile)

Arguments

lh_segstatsfile

character string, the path to the aparcstats file for the left hemisphere.

rh_segstatsfile

character string, the path to the aparcstats file for the right hemisphere.

Value

data.frame, see group.agg.atlas.native for details as this one is designed to match that format.

Note

The parcellation stats files must be generated manually for your sample using 'aparcstats2table'.

Author(s)

T Schaefer

Examples

## Not run: 
lh_sfile ="~/study1/lh.aparc_allsubjects.table";
rh_sfile ="~/study1/rh.aparc_allsubjects.table";
df = region_data_from_segstat_tables(lh_sfile, rr_sfile);

## End(Not run)


dfsp-spirit/brainnet documentation built on July 11, 2022, 5:54 a.m.