aparcs_to_bg: Convert Freesurfer aparcs Table to brainGraph

View source: R/aparcs_to_bg.R

aparcs_to_bgR Documentation

Convert Freesurfer aparcs Table to brainGraph

Description

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

Usage

aparcs_to_bg(subjects, measure, ...)

Arguments

subjects

subjects to analyze, passed to aparcstats2table

measure

measure to be analyzed, passed to aparcstats2table

...

additional arguments passed to aparcstats2table

Value

Long data.frame

Examples

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

muschellij2/freesurfer documentation built on Nov. 28, 2023, 4:45 a.m.