Learn R Programming

freesurfer (version 1.6.10)

aparcs_to_bg: Convert Freesurfer aparcs Table to brainGraph

Description

Converts Freesurfer aparcs table to brainGraph naming convention, relying on aparcstats2table

Usage

aparcs_to_bg(subjects, measure, ...)

Value

Long data.frame

Arguments

subjects

subjects to analyze, passed to aparcstats2table

measure

measure to be analyzed, passed to aparcstats2table

...

additional arguments passed to aparcstats2table

Examples

Run this code
if (have_fs()) {
   fs_subj_dir() 
   df = aparcs_to_bg(subjects = "bert", measure = "thickness")
   print(head(df))
}

Run the code above in your browser using DataLab