read_freesurfer_stats: Read in raw Freesurfer stats file

Description Usage Arguments Value

View source: R/read_freesurfer.R

Description

Freesurfer atlas stats files have a format that can be difficult to easily read in to R. This function takes a raw stats-file from the subjects directory and reads it in as a data.frame.

Usage

1
read_freesurfer_stats(path, rename = TRUE)

Arguments

path

path to stats file

rename

logical. rename headers for ggseg compatibility

Value

tibble


neuroconductor/ggseg documentation built on May 15, 2021, 11:21 p.m.